From: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: Conditionally create table problem
Date: Fri, 18 Jan 2002 14:59:46 -0500
Message-ID: <20020118145946.0c4d957b.wweng@kencast.com> (raw)
In-Reply-To: <200201181627.g0IGRTV91993@postgresql.org>
References: <200201181627.g0IGRTV91993@postgresql.org>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: wweng@kencast.com
Subject: Re: Conditionally create table problem
In-Reply-To: <20020118145946.0c4d957b.wweng@kencast.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox