Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYjAU-00030l-Rw for pgsql-bugs@postgresql.org; Wed, 14 Nov 2012 20:02:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYjAT-0005S5-J8 for pgsql-bugs@postgresql.org; Wed, 14 Nov 2012 20:02:38 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qAEK2XMk024567; Wed, 14 Nov 2012 15:02:33 -0500 (EST) From: Tom Lane To: "Matthew Kuss" cc: depesz@depesz.com, pgsql-bugs@postgresql.org Subject: Re: BUG #7657: Create Table doesn't create columns In-reply-to: <000f01cdc281$1ef20680$5cd61380$@rigminder.com> References: <20121113231947.GA7849@depesz.com> <000f01cdc281$1ef20680$5cd61380$@rigminder.com> Comments: In-reply-to "Matthew Kuss" message dated "Wed, 14 Nov 2012 10:00:08 -0600" Date: Wed, 14 Nov 2012 15:02:33 -0500 Message-ID: <24566.1352923353@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201211/72 X-Sequence-Number: 34630 "Matthew Kuss" writes: > Depesz - > I'm fairly sure it's not a problem with something I'm doing wrong because I've used the same code before. It has to be something wrong on the DB side. But just to entertain you I did as you requested: > RigMinder_NewDBTest02=# \d test > Table "public.test" > Column | Type | Modifiers > --------+------+----------- > RigMinder_NewDBTest02=# > Before I ran this I created a table using the following: > create table "test" ("column1" text, "column2" float); Hm ... maybe that's creating the table somewhere other than schema public? What have you got search_path set to? Try \dt *.test to see if there's more than one table named "test". regards, tom lane