From: | Michael Meskes <meskes(at)usa(dot)net> |
---|---|
To: | pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] PREPARE |
Date: | 1998-11-18 07:47:43 |
Message-ID: | 19981118084743.A869@usa.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
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(dot)Meskes(at)usa(dot)net
Go SF49ers! Go Rhein Fire! Use Debian GNU/Linux!
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 1998-11-18 07:48:43 | Re: [HACKERS] PREPARE |
Previous Message | Thomas G. Lockhart | 1998-11-18 03:23:30 | Re: [HACKERS] PREPARE |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 1998-11-18 07:48:43 | Re: [HACKERS] PREPARE |
Previous Message | Peter T Mount | 1998-11-18 06:41:55 | Re: [INTERFACES] problem of upper/lower case in table names |