Conditionally create table problem

From: Wei Weng <wweng(at)kencast(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Conditionally create table problem
Date: 2002-01-18 19:59:46
Message-ID: 20020118145946.0c4d957b.wweng@kencast.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Is there better way to conditionally create tables rather than doing
SELECT sp_CheckTable_tablename(); ?

(In sp_CheckTable_tablename, we will basically query the pg_tables and
create the table if it doesn't exists and do nothing it it does.)

TIA.

--
Wei Weng
Network Software Engineer
KenCast Inc.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Murray Prior Hobbs 2002-01-18 20:17:31 Re: pltlc and pltlcu problems
Previous Message Glenn MacGregor 2002-01-18 19:14:10 pqFlush problem