pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: Mourad EL HADJ MIMOUNE <mimoune@ensma.fr>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL-Programmer tool and field%type support
Date: Mon, 8 Oct 2001 12:09:34 -0600
Message-ID: <20011008120934.A4030@cc.usu.edu> (raw)
In-Reply-To: <012401c14da2$d80791e0$71a337c1@ensma.fr>
References: <200110042320.f94NKDg53681@server1.pgsql.org>
	<012401c14da2$d80791e0$71a337c1@ensma.fr>

On Fri, Oct 05, 2001 at 03:37:14PM +0200, Mourad EL HADJ MIMOUNE wrote:
>  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 don't know such tool.
	The documentation has some advices on tools/ways to program in
PL/pgSQL.

> 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' ...

	This syntax is not supported in PG 7.1. AFAIK, it will be supported in
PG 7.2.
	You can use function overloading if you need the same function to
return different types.
	
	-Roberto
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
Information is the greatest weapon of power to the modern wizard.



view thread (4+ messages)  latest in thread

Message-ID: <20011008120934.A4030@cc.usu.edu>
Permalink:  ../20011008120934.A4030@cc.usu.edu/
Also on:    postgresql.org/message-id/20011008120934.A4030@cc.usu.edu

 · 

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: rmello@cc.usu.edu, mimoune@ensma.fr
  Subject: Re: SQL-Programmer tool and field%type support
  In-Reply-To: <20011008120934.A4030@cc.usu.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