Thread: get generated keys and insert returning

get generated keys and insert returning

From
Dave Cramer
Date:
There's a requirement for the odbc, and jdbc drivers to be able to 
return generated keys. AFAIR implementing insert returning would solve 
this problem.

I think it still leaves us with a number of problems

1) the code has to know in advance to issue the insert returning.
2) also has to know in advance which columns are autogenerated.

in the case of jdbc the getGeneratedKeys method returns the values of 
any autogenerated columns without knowing in advance
which columns are generated.

This seems to imply that this has to be done by the server without any 
client library knowing before hand the primary keys.

Dave

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561