PDA

View Full Version : PostgreSQL C/C++ API getting auto primary key



bluedalmatian
November 28th, 2009, 05:55 PM
How do you obtain the primary key value having done an INSERT if the PK is an auto incrementing integer? Im using either the C API (libpq) or the C++ one (pgxx).

Thanks