Re: Open items

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Open items
Дата
Msg-id
23244.1091546307@sss.pgh.pa.us
Ответ на
Re: Open items (Greg Sabino Mullane)
Список
Дерево обсуждения
Re: Open items "Dave Page" <dpage@vale-housing.co.uk>
"Greg Sabino Mullane"  writes:
> Second, Jan promised at OSCON to fix up server-side prepare so it actually
> works even if you do not have the exact types to pass in. I presume you
> will then be able to do something like this:
> PREPARE mystatement AS SELECT * FROM pg_class WHERE relanem = $1
> which will make driver writers very, very happy.

Why would a driver writer care?  He can use the Prepare protocol
message, which already can do the above --- and more to the point,
there's already a way for him to *find out* what types were resolved.
There is no way for the SQL-level PREPARE command to provide info
about how types were resolved, so I'm not in favor of hacking the
SQL command this way.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Unicode restriction
От: Tom Lane
Дата:
FAQ