From: Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
To: Nikolay Mijaylov <nmmm@nmmm.nu>
Cc: Bob Zoller <bob@helpermonkey.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] mysql to pgsql
Date: Fri, 18 Feb 2000 12:13:05 -0600
Message-ID: <20000218121305.B12742@rice.edu> (raw)
In-Reply-To: <000e01bf79f1$dee08ac0$ce2a18c3@skillbrokers.bg>
References: <Pine.BSO.4.21.0002171317340.24496-100000@helpermonkey.org>
<000e01bf79f1$dee08ac0$ce2a18c3@skillbrokers.bg>
One correction:
On Fri, Feb 18, 2000 at 11:23:49AM +0200, Nikolay Mijaylov wrote:
> Hya
>
> Remove all Mysql comments, unfortunately pg, cant support
> comments,
> they begins with # if i not mistake
pgsql supports SQL standard comments. A comment is introduced by the
token --, and ends at the next newline. I have many sql script files
that look like:
create table testit ( -- this is a test table
f1 int, -- this is a test integer
f2 real, -- this is a real, or float
f3 text -- this is a variable length text element
);
Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005
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-admin@postgresql.org
Cc: reedstrm@wallace.ece.rice.edu, nmmm@nmmm.nu, bob@helpermonkey.org
Subject: Re: [ADMIN] mysql to pgsql
In-Reply-To: <20000218121305.B12742@rice.edu>
References: <Pine.BSO.4.21.0002171317340.24496-100000@helpermonkey.org> <000e01bf79f1$dee08ac0$ce2a18c3@skillbrokers.bg> <20000218121305.B12742@rice.edu>
* 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