From: Leslie Mikesell <les@Mcs.Net>
To: SierraAdm@aol.com
Cc: pgsql-novice@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] importing a pre sql db
Date: Wed, 5 Aug 1998 00:15:43 -0500 (CDT)
Message-ID: <199808050515.AAA00727@Mercury.mcs.net> (raw)
In-Reply-To: <d8dec90e.35c7b78e@aol.com>
According to SierraAdm@aol.com:
> I can convert that to
> create table wc_members (
> wc_last_name char(20),
> ... more such ... )
> How do I get it in as the table definition?
You can type it directly into psql (don't forget the terminating ';')
but I usually put all the table definitions, sequences, indexes
and grant statements in a file and use the '\i file' command from
psql to execute them.
Les Mikesell
les@mcs.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: les@Mcs.Net, SierraAdm@aol.com, pgsql-novice@postgresql.org
Subject: Re: [SQL] importing a pre sql db
In-Reply-To: <199808050515.AAA00727@Mercury.mcs.net>
References: <d8dec90e.35c7b78e@aol.com> <199808050515.AAA00727@Mercury.mcs.net>
* 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