Re: [HACKERS] PREPARE

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [HACKERS] PREPARE
Дата
Msg-id 19981118084743.A869@usa.net
обсуждение исходный текст
Ответ на Re: [HACKERS] PREPARE  (Peter T Mount <peter@retep.org.uk>)
Список pgsql-hackers
On Tue, Nov 17, 1998 at 06:40:01PM +0000, Peter T Mount wrote:
> it has each required parameter represented by a ?
> 
> insert into mytable (field1,field2,field3) values (?,?,?);
> 
> Now the current postgresql jdbc implementation stores this string, and has
> a Vector (Java for a dynamic array) that has each value stored in it as
> the client application sets them. When the client calls the
> executeUpdate() or executeQuery() methods, we just replace the ?'s with
> the values in sequence, and pass the query to the backend as normal.

That's exactly what I wanted to use for ecpg. But I guess I postpone it just
a little more. :-)

Michael
-- 
Dr. Michael Meskes, Manager of the Western Branch Office, Datenrevision GmbH
work: Cuxhavener Str. 36, D-21149 Hamburg
home: Th.-Heuss-Str. 61,  D-41812 Erkelenz, Michael.Meskes@usa.net
Go SF49ers! Go Rhein Fire! Use Debian GNU/Linux!




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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] PREPARE
Следующее
От: Hannu Krosing
Дата:
Сообщение: Bug in 6.4 release