Re: Is it possible to return custom type as proper ROW? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Is it possible to return custom type as proper ROW?
Date
Msg-id 20061011155334.GA7588@KanotixBox
Whole thread Raw
In response to Is it possible to return custom type as proper ROW?  ("Joe Kramer" <cckramer@gmail.com>)
Responses Re: Is it possible to return custom type as proper ROW?
List pgsql-general
Joe Kramer <cckramer@gmail.com> schrieb:
>
> I want to get:
> item_id   |   last_update
> -------------------------------------
> 32         |  1234-12-12 12:12:12

Untested:

SELECT item_id, last_update from public.new_item(3,2);


HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-general by date:

Previous
From: "Joe Kramer"
Date:
Subject: Is it possible to return custom type as proper ROW?
Next
From: "Merlin Moncure"
Date:
Subject: Re: plpgsql handling a set of values