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@xxxxxxxxx> wrote:
On Monday, May 7, 2018, tango ward <tangoward15@xxxxxxxxx> 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.