pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Matthew Kuss <matt@rigminder.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7657: Create Table doesn't create columns
Date: Wed, 14 Nov 2012 17:07:20 +0100
Message-ID: <20121114160720.GA13116@depesz.com> (raw)
In-Reply-To: <000f01cdc281$1ef20680$5cd61380$@rigminder.com>
References: <E1TYJq5-00038e-4s@wrigleys.postgresql.org>
	<20121113231947.GA7849@depesz.com>
	<000f01cdc281$1ef20680$5cd61380$@rigminder.com>

On Wed, Nov 14, 2012 at 10:00:08AM -0600, Matthew Kuss wrote:
> 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);
> 
> It ran without any errors. Yesterday after I sent out the help request
> I uninstalled postgresql and installed version 9.0.10 and I'm having
> the same problem. It does look like it only occurs when my logging
> package is running. Ie if I shut it down, I can create tables in
> pgAdmin, but as soon as my program is running, I get the errors
> described above. Any other ideas on how to fix this? 

What "logging package"?
From what you describe, it looks that it interferes, which would clearly
suggest that it's the guilty part.

I did create the table you said, and it works without any problems:

(depesz@[local]:5920) 17:05:00 [depesz] 
$ create table "test" ("column1" text, "column2" float);
CREATE TABLE
(depesz@[local]:5920) 17:05:05 [depesz] 
$ \d test
          Table "public.test"
 Column  |       Type       | Modifiers 
---------+------------------+-----------
 column1 | text             | 
 column2 | double precision | 

I know that this is not helpful, but as you said - when you remove your
program from the situation, everything works ok. check then what the
program does.

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/




view thread (6+ messages)  latest in thread

Message-ID: <20121114160720.GA13116@depesz.com>
Permalink:  ../20121114160720.GA13116@depesz.com/
Also on:    postgresql.org/message-id/20121114160720.GA13116@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: depesz@depesz.com, matt@rigminder.com
  Subject: Re: BUG #7657: Create Table doesn't create columns
  In-Reply-To: <20121114160720.GA13116@depesz.com>
  References: <E1TYJq5-00038e-4s@wrigleys.postgresql.org> <20121113231947.GA7849@depesz.com> <000f01cdc281$1ef20680$5cd61380$@rigminder.com> <20121114160720.GA13116@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox