From: | Daniel Cohen <daniel(dot)m(dot)cohen(at)berkeley(dot)edu> |
---|---|
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 |
Date: | 2019-06-14 16:41:28 |
Message-ID: | CAHAzoYn6a73nb_cZ-vuFiq=x0bTPyYYu9CyWmXFiLEtuhM2JTg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
Hi again,
I realize the error was that I specified the name as "schema.tbl", and I
think because there was a period in the name, it converted to double-quote.
I tried again as just "tbl" and it worked perfectly. Thanks so much for all
your help.
Best,
Danny
On Fri, Jun 14, 2019 at 9:12 AM Christophe Pettus <xof(at)thebuild(dot)com> wrote:
>
>
> > On Jun 13, 2019, at 13:54, Daniel Cohen <daniel(dot)m(dot)cohen(at)berkeley(dot)edu>
> wrote:
> >
> > 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).
>
> By "returns nothing," do you mean you get an error, or that you get zero
> rows?
>
> I'd connect to the database using psql and use \d to see what tables
> actually exist.
> --
> -- Christophe Pettus
> xof(at)thebuild(dot)com
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sebastiaan Mannem | 2019-06-14 17:44:07 | Re: Creating dynamically-typed tables using psycopg2's built-in formatting |
Previous Message | Christophe Pettus | 2019-06-14 16:12:10 | Re: Creating dynamically-typed tables using psycopg2's built-in formatting |