pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mourad EL HADJ MIMOUNE <mimoune@ensma.fr>
To: pgsql-sql@postgresql.org
Subject: SQL-Programmer tool and field%type support
Date: Fri, 5 Oct 2001 15:37:14 +0200
Message-ID: <012401c14da2$d80791e0$71a337c1@ensma.fr> (raw)
References: <200110042320.f94NKDg53681@server1.pgsql.org>

 Hi,
 I'm looking for PL/SQL programmer tool. I wanted to use SQL-Programmer but
it
 doesn't support Postgres data base.
 Please can sommeone suggest me an other tool wich can replace this one or
 explaine me how we can use SQLProgrammer with Postgres if it is possible.
I have an other question about the use of %type and alias in PL/SQL.  So the
excution of functions containing varibales of type maytable.field1%type
prompts parser errors.
error on the creation of the function :
create function test (int) returns maytable.field1%type as' ...

 parser: parse error at or near "."

error on the excution of the function :
create function test (int) returns int as'
declare
var1 maytable.field1%type;
var2 alias for $1;  ....

 parser: parse error at or near '%'
parser: parse error at or near "$1"

Please help me.
 Thanks.
 Mourad.





view thread (4+ messages)  latest in thread

Message-ID: <012401c14da2$d80791e0$71a337c1@ensma.fr>
Permalink:  ../012401c14da2$d80791e0$71a337c1@ensma.fr/
Also on:    postgresql.org/message-id/012401c14da2$d80791e0$71a337c1@ensma.fr

 · 

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: mimoune@ensma.fr
  Subject: Re: SQL-Programmer tool and field%type support
  In-Reply-To: <012401c14da2$d80791e0$71a337c1@ensma.fr>

* 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