Re: pl/pgsql docs 37.4.3. Row Types -- how do I use this function?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pl/pgsql docs 37.4.3. Row Types -- how do I use this function?
Дата
Msg-id 4342.1074974144@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pl/pgsql docs 37.4.3. Row Types -- how do I use this function?  ("Lee Harr" <missive@hotmail.com>)
Список pgsql-general
"Lee Harr" <missive@hotmail.com> writes:
> I am following along with the pl/pgsql docs here:
> http://www.postgresql.org/docs/current/static/plpgsql-declarations.html

> Now, how do I call the function?

I believe you want

select use_two_tables(tablename.*) from tablename;

"foo.*" is the locution for referring to the whole-row value coming from
table foo in a select.

            regards, tom lane

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

Предыдущее
От: Eric B.Ridge
Дата:
Сообщение: Re: Touch row ?
Следующее
От: Eric Ridge
Дата:
Сообщение: Re: Touch row ?