Re: Programmatically dropping and creating table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cjwhite(at)cisco(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Programmatically dropping and creating table
Date: 2002-10-03 22:18:36
Message-ID: 14903.1033683516@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Chris White" <cjwhite(at)cisco(dot)com> writes:
>> Are you *certain* you are talking to a 7.2 backend?

> It gives me PostgresSQL 7.2.1.

Drat, so much for that theory.

I think whatever's going wrong must be at a fairly low level. Can you
try strace'ing the backend process that's handling your connection to see
exactly what file name it's trying to create when you give this command?
It should be something like

path-to-pgdata-dir/base/oid-of-db/oid-of-new-file

issued in an open() kernel call with O_CREAT and O_EXCL flags set.

regards, tom lane

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Robert M. Zigweid 2002-10-04 04:31:21 JDBC and commit problems
Previous Message Chris White 2002-10-03 22:08:17 Re: Programmatically dropping and creating table