SetOf Functions

Поиск
Список
Период
Сортировка
Искать
От
Joshua D. Drake
Тема
SetOf Functions
Дата
Msg-id
43060D6E.8020801@commandprompt.com
Список
Дерево обсуждения
SetOf Functions "Joshua D. Drake" <jd@commandprompt.com>
Re: SetOf Functions Josh Berkus <josh@agliodbs.com>
Re: SetOf Functions "Joshua D. Drake" <jd@commandprompt.com>
Re: SetOf Functions Andrew Dunstan <andrew@dunslane.net>
Re: SetOf Functions "Joshua D. Drake" <jd@commandprompt.com>
Hello,

O.k. I know I can do:

CREATE FUNCTION foo() RETURNS SET OF text AS ' ' language SQL;

Does anyone else think it would be nice to be able to do:

CREATE FUNCTION foo() RETURNS SET OF text,int4,float,timestamp AS ' ' 
language SQL;

?

We could even extend it farther:

CREATE FUNCTION foo() RETURNS SET OF text AS first_name, int4 AS id etc....

Sincerely,

Joshua D. Drake


-- 
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: Why is lock not released?
От: Josh Berkus
Дата:
Сообщение: Re: SetOf Functions
FAQ