Re: Is it possible to return custom type as proper ROW?

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Is it possible to return custom type as proper ROW?
Дата
Msg-id 20061011155334.GA7588@KanotixBox
обсуждение исходный текст
Ответ на Is it possible to return custom type as proper ROW?  ("Joe Kramer" <cckramer@gmail.com>)
Ответы Re: Is it possible to return custom type as proper ROW?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Joe Kramer"
Дата:
Сообщение: Is it possible to return custom type as proper ROW?
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: plpgsql handling a set of values