Re: KeyError: self._index[x]

From: tango ward <tangoward15(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: KeyError: self._index[x]
Date: 2018-05-08 05:00:58
Message-ID: CAA6wQLLWajZ30+_hUgarb_+e7AN17MH8bSgVoOzEgDgwYCzs7Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, now I understand. Thank you so much for being so helpful to a
newbie same with Sir Adrian.

On Tue, May 8, 2018 at 12:58 PM, David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Monday, May 7, 2018, tango ward <tangoward15(at)gmail(dot)com> wrote:
>
>> I didn't know it. Is it only in psycopg2 that the name of the columns
>> will use the name of the function?
>>
>
> The server assigns column names - hence the advice to use psql to
> investigate SQL issues more easily since there is one less moving part to
> deal with.
>
> David J.
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ayappan P2 2018-05-08 06:50:51 Re: Renice on Postgresql process
Previous Message David G. Johnston 2018-05-08 04:58:33 Re: KeyError: self._index[x]