On Oct 15, 2006, at 8:23 PM, Joby Walker wrote:
As was pointed out to me the current value function returns the last value used for that connection, so from the pgsql side it is multithread safe -- but I don't know how using a connection pooling system like SQLRelay impacts things (because we might use a sqlrelay in the future is one of the reasons I modified our instance of SB).
Well, you're not gonna multiplex the connection during the same transaction, so it will be safe to call the last_insert_id() method from DBD::Pg to query the sequence number of the last insert.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
