-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> DBI doc last_insert_id() "For some drivers the $catalog, $schema,
>> $table, and $field parameters are required (e.g., Pg), for others
>> they are ignored (e.g., mysql)."
>
> Right. That's why they are undef for MySQL, and it seems the last time I 
> tested
> it under Pg, undef worked there too, but that was months ago. Proof to the
> contrary should be published here.

Yes, undef is fine for Pg: the only required attribute is the tablename, and 
even
that can be left off if a sequence name is passed in via the %attrib. I've been
meaning to get that part of the doc updated for a while, so thanks for the
reminder. A patch would be overkill: could someone with commit access simply
remove the "(e.g., Pg)" bit from that line in DBI.pm? Thanks much.

- --
Greg Sabino Mullane [EMAIL PROTECTED]
PGP Key: 0x14964AC8 200604172137
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFERELdvJuQZxSWSsgRAn7sAKDGdWPleJJjRevHBSxe71+/NLRAjQCg11/W
O61U4cWfQXrAufsUtWoK350=
=p7GB
-----END PGP SIGNATURE-----


Reply via email to