Re: KeyError: self._index[x]

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: tango ward <tangoward15(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 04:58:33
Message-ID: CAKFQuwaoyJ7zHmZH6dxqgnyoyrANK12GK31ResC3k30TgCwVxA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tango ward 2018-05-08 05:00:58 Re: KeyError: self._index[x]
Previous Message tango ward 2018-05-08 04:42:52 Re: KeyError: self._index[x]