>> I think that depends on the language you are using to do development.
>> For example, I happen to know that PyGreSQL (the Python interface I
>> use) returns the oid on when you use it's insert() method, and I think
>> that PHP can do this as well
Yes, see pg_getlastoid() function.
Regards
Erol Oz