From: | Michael Meskes <meskes(at)postgreSQL(dot)org> |
---|---|
To: | Andreas Theofilu <theofilu(at)eunet(dot)at> |
Cc: | Michael Meskes <meskes(at)postgreSQL(dot)org>, pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | Re: [INTERFACES] ecpg and getting just assigned serial number |
Date: | 1999-09-14 18:32:23 |
Message-ID: | 19990914203223.E5414@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Mon, Sep 13, 1999 at 02:11:24PM +0200, Andreas Theofilu wrote:
> Informix returns this number in 'sqlca.sqlerrd[1]'. Currently this field
> is not used by ecpg.
Added to TODO. But I doubt this can easily be implemented.
> Maybe ecpg can implement the first call behind the scenes and put the new
> serial number into 'sqlca.sqlerrd[1]'.
No. ECPG does not interpret any command. They are just fed into the backend.
After an insert the backend returns the number of records inserted, but does
it also return the OID or whatever? I'm not sure but since an insert could
add more than one tuple I doubt that.
Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-09-14 20:34:55 | Re: [INTERFACES] ecpg and getting just assigned serial number |
Previous Message | Michael Meskes | 1999-09-14 18:29:10 | Re: [INTERFACES] Still have problem with single quotation mark |