Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYJq8-0008MZ-Hq for pgsql-bugs@postgresql.org; Tue, 13 Nov 2012 16:59:56 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYJq6-0007P0-7x for pgsql-bugs@postgresql.org; Tue, 13 Nov 2012 16:59:55 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYJq5-0003RJ-T1 for pgsql-bugs@postgresql.org; Tue, 13 Nov 2012 16:59:54 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TYJq5-00038e-4s for pgsql-bugs@postgresql.org; Tue, 13 Nov 2012 16:59:53 +0000 Date: Tue, 13 Nov 2012 16:59:53 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7657: Create Table doesn't create columns To: pgsql-bugs@postgresql.org From: Matt@rigminder.com X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201211/65 X-Sequence-Number: 34623 The following bug has been logged on the website: Bug reference: 7657 Logged by: Matt Email address: Matt@rigminder.com PostgreSQL version: 9.1.4 Operating system: Windows Server Standard SP2 Description: = When I run the following statement, the table is created, but there are no columns: CREATE TABLE "mod_1237" ("Collecteddepth" float8 NOT NULL, "Collectedtime" float8 NOT NULL, "CollectedData" Varchar(45) NOT NULL, "Collectedpass" float8 NOT NULL, "Collectedmodtime" float8 NOT NULL) WITH (OIDS =3D FALSE); I know I'm not creating a primary key, but that shouldn't prevent the columns from being generated. When I run this code it also doesn't generate any errors so everything looks fine until I try to write to the table. Any ideas as to why this wouldn't work or how to make a table with the given columns? Thanks, Matt