Re: IN/OUT parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: IN/OUT parameters
Дата
Msg-id 4829.1116961439@sss.pgh.pa.us
обсуждение исходный текст
Ответ на IN/OUT parameters  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: IN/OUT parameters  (Dave Cramer <pg@fastcrypt.com>)
Re: IN/OUT parameters  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Dave Cramer <pg@fastcrypt.com> writes:
> create function foo( out p1 int, in p2 int,  out p3  int) ....
> then a subsequent
> "{call = select foo(?,?,?)}

> This would need to be currently transformed into select foo(?), with the 
> other two being discarded.

> It seems to me that the bind message needs to support the notion of 
> direction in order for this to work cleanly.

How would it help for BIND to incorporate direction?  What would it even
*mean* for BIND to incorporate direction --- it's a client-to-server
message, and can hardly be expected to transmit data in the reverse
direction.
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: postmaster.pid disappeared
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postmaster.pid disappeared