RE: Creating dynamically-typed tables using psycopg2's built-in formatting

From: David Raymond <David(dot)Raymond(at)tomtom(dot)com>
To: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: RE: Creating dynamically-typed tables using psycopg2's built-in formatting
Date: 2019-06-13 21:17:16
Message-ID: VI1PR07MB5792E382A72D40C8EF85A49887EF0@VI1PR07MB5792.eurprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Could you let us know what version the server is, and also show a table listing? (Connect with psql and do a \d for example)

From: Daniel Cohen <daniel(dot)m(dot)cohen(at)berkeley(dot)edu>
Sent: Thursday, June 13, 2019 4:55 PM
To: Christophe Pettus <xof(at)thebuild(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Creating dynamically-typed tables using psycopg2's built-in formatting

Hi Christophe,

Thanks so much for your response. The uppercase --> lowercase fix worked for the types, but I'm still only getting tables that can be searched by double-quotations (i.e. > SELECT * FROM tbl; returns nothing, but > SELECT * FROM "tbl"; returns the table I uploaded). I can't tell from your message what the script should say to fix this. Thank you again!

Best,

Danny

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2019-06-14 00:05:18 psycopg 2.8.3 released
Previous Message Daniel Cohen 2019-06-13 20:54:53 Re: Creating dynamically-typed tables using psycopg2's built-in formatting