On Wed, Apr 28, 2010 at 9:15 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> CREATE OR REPLACE is indeed much more complicated. In fact, for >> tables, I maintain that you'll need to link with -ldwim to make it >> work properly. > > This may in fact be an appropriate way to handle the case for tables, > given the complexity of their definitions.
Patch attached. ...Robert
create_table_if_not_exists.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers