On Jan 14, 2005, at 16:03, Bo Lorentsen wrote:
> Now, are there any danger in using this method ? And if there is, how 
> can I do this trick without knowing the layout of the table I insert 
> into ?
You can use currval() to get the sequence value that was pulled from 
your insert. You can check the documentation for usage, as well as 
searching the archives for discussions of using OIDs as part of your 
database logic.
Hope this helps.
Michael Glaesemann
grzm myrealbox com