Re: BUG #7657: Create Table doesn't create columns

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew Kuss" <matt(at)rigminder(dot)com>
Cc: depesz(at)depesz(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7657: Create Table doesn't create columns
Date: 2012-11-14 20:02:33
Message-ID: 24566.1352923353@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Matthew Kuss" <matt(at)rigminder(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Matthew Kuss 2012-11-14 20:49:13 Re: BUG #7657: Create Table doesn't create columns
Previous Message Tom Lane 2012-11-14 19:57:43 Re: BUG #7658: the result of pg_get_viewdef can NOT execute directly