Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbooL-00015Z-Q9 for psycopg@arkaria.postgresql.org; Fri, 14 Jun 2019 16:12:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hbooK-0003J9-FA for psycopg@arkaria.postgresql.org; Fri, 14 Jun 2019 16:12:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbooK-0003J2-5M for psycopg@lists.postgresql.org; Fri, 14 Jun 2019 16:12:16 +0000 Received: from smtp125.ord1d.emailsrvr.com ([184.106.54.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbooH-0005Zf-68 for psycopg@postgresql.org; Fri, 14 Jun 2019 16:12:14 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp24.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id BBD1AA0287; Fri, 14 Jun 2019 12:12:11 -0400 (EDT) X-Sender-Id: xof@thebuild.com Received: from [10.1.10.10] (50-76-33-78-ip-static.hfc.comcastbusiness.net [50.76.33.78]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Fri, 14 Jun 2019 12:12:12 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Creating dynamically-typed tables using psycopg2's built-in formatting From: Christophe Pettus In-Reply-To: Date: Fri, 14 Jun 2019 09:12:10 -0700 Cc: psycopg@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <33071EF2-86DE-4698-BFAA-6F084024A826@thebuild.com> To: Daniel Cohen X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Jun 13, 2019, at 13:54, Daniel Cohen = wrote: >=20 > 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).=20 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. =20 -- -- Christophe Pettus xof@thebuild.com