pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Konovalov <okonovalov@sarnoff.com>
To: pgsql-sql@postgresql.org
Subject: PSQL Syntax errors running PL/SQL scripts
Date: Thu, 22 Jul 2004 09:54:16 -0400
Message-ID: <40FFC708.5970EC94@sarnoff.com> (raw)

Hi,

I am trying to run SQL scripts creating schema in PSQL [PostgreSQL
7.4.3]
and getting tons of errors, mostly "syntax error at or near
character..."
Complains about CONSTRAINTS, Prompt, Set, Local, CREATE, '(', ')' ,...
Also many errors "relation ... already exists"
[I guess, if DROP failed]

My script runs fine with Oracle 8i/9i.

Is PostgreSQL so much different from PL/SQL ?

Any good syntax reference for PostgreSQL ?

Thank you in advance,
Oleg.




Message-ID: <40FFC708.5970EC94@sarnoff.com>
Permalink:  ../40FFC708.5970EC94@sarnoff.com/
Also on:    postgresql.org/message-id/40FFC708.5970EC94@sarnoff.com

 · 

reply

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: okonovalov@sarnoff.com
  Subject: Re: PSQL Syntax errors running PL/SQL scripts
  In-Reply-To: <40FFC708.5970EC94@sarnoff.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