Alban Hertroys,
Why don't you just use the default? You could entirely do away with the
> 'result' variable that way:
>
because I need to know which is the new id of that computer. The other way
would be "insert if not exists" and again "select where name = ..." -> 1
statement more, and without a stored procedure even a roundtrip client -
server - client more, which is expensive in WAN situations :(
Harald
--
GHUM Harald Massa
persuasion python postgresql
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607