Programmatically dropping and creating table - Mailing list pgsql-jdbc

From Chris White
Subject Programmatically dropping and creating table
Date
Msg-id 00a601c26b26$6f6a9360$ff926b80@amer.cisco.com
Whole thread Raw
Responses Re: Programmatically dropping and creating table  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
I am running Postgresql 7.2 and programmatically trying to drop a table called vm_config and then recreate it from java. The drop seems to work, but when I try to recreate the table I get a SQL exception saying "ERROR: cannot create vm_config: file exists". If I do a commit after the drop and then do the create I get the SQL Exception "ERROR: cannot create vm_config_pkey: file exists". What am I doing wrong?
 
Chris White

pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: Huh? ErrorCode/SQLstate are null?
Next
From: Tom Lane
Date:
Subject: Re: Programmatically dropping and creating table