| From: | David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: postgresql referencing and creating types as record |
| Date: | 2014-08-06 15:06:54 |
| Message-ID: | 1407337614998-5813912.post@n5.nabble.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bill Epstein | 2014-08-06 16:28:18 | Questions on dynamic execution and sqlca |
| Previous Message | Alexey Klyukin | 2014-08-06 14:48:22 | Re: Reindex taking forever, and 99% CPU |