Re: KeyError: self._index[x] - Mailing list pgsql-general

From tango ward
Subject Re: KeyError: self._index[x]
Date
Msg-id CAA6wQLLWajZ30+_hUgarb_+e7AN17MH8bSgVoOzEgDgwYCzs7Q@mail.gmail.com
Whole thread Raw
In response to Re: KeyError: self._index[x]  ("David G. Johnston" <david.g.johnston@gmail.com>)
List 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.g.johnston@gmail.com> wrote:
On Monday, May 7, 2018, tango ward <tangoward15@gmail.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.


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: KeyError: self._index[x]
Next
From: Philipp Kraus
Date:
Subject: cursor empty