query for schema existence and create schema in jdbc?

From: "Hiller, Dean (Contractor)" <dean(dot)hiller(at)broadridge(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: query for schema existence and create schema in jdbc?
Date: 2011-01-21 14:14:34
Message-ID: 7CA0D5FE7FA83048893E9230C1E9C0280BD2365E@DNVREMSA01.jsq.bsg.ad.adp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I need a way(and don't care if it is not portable) to

1. Query to see if a schema exists or not

2. Create the schema if it doesn't exist

3. Drop and recreate the schema if it does exist

ALL through JDBC. Is this possible?

Thanks,

Dean

This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Hiller, Dean (Contractor) 2011-01-21 14:30:00 Re: query for schema existence and create schema in jdbc?
Previous Message Maciek Sakrejda 2011-01-19 17:37:38 Re: date/time out of range