Received: from wallace.ece.rice.edu (root@wallace.ece.rice.edu [128.42.12.154]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA73204 for ; Fri, 18 Feb 2000 13:14:44 -0500 (EST) (envelope-from reedstrm@wallace.ece.rice.edu) Received: by wallace.ece.rice.edu via sendmail from stdin id (Debian Smail3.2.0.102) for pgsql-admin@postgresql.org; Fri, 18 Feb 2000 12:13:05 -0600 (CST) Date: Fri, 18 Feb 2000 12:13:05 -0600 From: "Ross J. Reedstrom" To: Nikolay Mijaylov Cc: Bob Zoller , pgsql-admin@postgresql.org Subject: Re: [ADMIN] mysql to pgsql Message-ID: <20000218121305.B12742@rice.edu> References: <000e01bf79f1$dee08ac0$ce2a18c3@skillbrokers.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i In-Reply-To: <000e01bf79f1$dee08ac0$ce2a18c3@skillbrokers.bg>; from nmmm@nmmm.nu on Fri, Feb 18, 2000 at 11:23:49AM +0200 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., NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005