Re: postgresql referencing and creating types as record

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: postgresql referencing and creating types as record
Дата
Msg-id 1407337614998-5813912.post@n5.nabble.com
обсуждение исходный текст
Список pgsql-general
vpmm2007 wrote
> type function is record (f1 NUMERIC,f2 NUMERIC..); this is in oracle
>
> kindly tell me what is the substitute to use "is record " in postgres.
>
> its urgent .....
>
> thanks and rgds
> vpmm

No idea on exactly what Oracle is creating here (a type or a set returning
function) but either:

CREATE TYPE ( ... )

or

CREATE FUNCTION ( ... ) RETURNS TABLE ( ... )

The documentation will provide specifics.

http://www.postgresql.org/docs/9.3/interactive/sql-commands.html

David J.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/postgresql-referencing-and-creating-types-as-record-tp5813901p5813912.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: Alexey Klyukin
Дата:
Сообщение: Re: Reindex taking forever, and 99% CPU
Следующее
От: Bill Epstein
Дата:
Сообщение: Questions on dynamic execution and sqlca