Re: Creating functions with pgAdmin III

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Ian Freislich <ianf(at)za(dot)uu(dot)net>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Creating functions with pgAdmin III
Date: 2003-12-05 10:48:40
Message-ID: 3FD06288.2010808@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Ian Freislich wrote:

>I can't find the pseudo-type RECORD in the drop-down list of return
>types so it is impossible to create functions like "CREATE OR REPLACE
>FUNCTION foo (TEXT) RETURNS SET OF RECORD AS..." using the gui.
>
>
Not all 'p' types are allowed as return types for functions, but
apparently the list was too restricted.
I expanded the list (to be precise: allow all for certain exceptions),
committed to cvs.

>Currently I have to work around this by manually creating the
>function shell from psql or using the query editor and then editing
>the function body using pgAdmin.
>
>
Yeah, this is what pgAdmin3's sql preview is meant for. Not necessary
for this special case any more.

>BTW, this is a _great_ tool which has helped our sysadmins and
>junior developers quickly and easily administer, grasp the structure
>of our databases and develop their own schemas.
>
>

Thanks!

Regards,
Andreas

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-12-05 18:32:01 New FC1 RPMS uploaded to snake
Previous Message Andreas Pflug 2003-12-05 10:42:58 Re: SQL window hangs/errors upon close of approx.