pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: beyaRecords - The home Urban music <uzo@beya-records.com>
To: pgsql-sql@postgresql.org
Subject: Re: postgreSQL editors
Date: Wed, 31 Dec 2003 20:44:48 +0000
Message-ID: <2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.com> (raw)
In-Reply-To: <000201c3cfd8$64952f50$0201a8c0@andy2>
References: <000201c3cfd8$64952f50$0201a8c0@andy2>

Hi,
thanks for the responses to my original question. i have decided to use 
phpPgAdmin for my database development.

I have created the following function:

create function GetEmployees() returns setof employee as 'select * from 
employee;' language 'sql';

With phpPgAdmin you can define the top and bottom lines of your 
function using the options available (Name, Arguments, 
Returns,Programming language). Now the section that is throwing me at 
the moment is the reyurns section. You have 2 drop down boxes, the 
first enables you to select setof and the second provides you with a 
long list. So basically I chosse a name for the function, provide 
'text' as an argument to my function, select setof from the first drop 
down box and plpgsql as my programming language. how do I set the 
'employe part of the function from the drop down list? 'returns setof 
xxxx, xxxx being the option i need to select from the drop down list 
which is defaulted to "SET".

regards


Uzo
On 31 Dec 2003, at 19:57, Andy Lewis wrote:

> I would have to agree with EMS-HiTech's product also. A feature rich,
> product, very responsive tech support/bug report. PGManager beats the
> competition hands down.
>
> Andy
>
>
> -----Original Message-----
> From: pgsql-sql-owner@postgresql.org
> [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Rich Hall
> Sent: Wednesday, December 31, 2003 1:09 PM
> To: pgsql-sql@postgresql.org
> Subject: Re: [SQL] postgreSQL editors
>
>
>
>>> can anyone recommend a good editor for postgreSQl wich wil enable me
>>> to create functions/stored procedures?
>>> I am currently running version 7.4.1 on OS X 10.3
>>
>
> I use PG Manager from EMS Hitech. It is not free but inexpensive.
>
> You have everything PostgreSQL-wise at your fingertips.
>
> Ver 2.0 was just released and they are very responsive to bug reports.
>
> Rick
>
>
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>
>
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

view thread (8+ messages)  latest in thread

Message-ID: <2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.com>
Permalink:  ../2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.com/
Also on:    postgresql.org/message-id/2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: uzo@beya-records.com
  Subject: Re: postgreSQL editors
  In-Reply-To: <2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.com>
  References: <000201c3cfd8$64952f50$0201a8c0@andy2> <2CA66AA8-3BD2-11D8-AB42-0003938366A4@beya-records.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