On Tue, Apr 18, 2006 at 01:37:47AM -0000, Greg Sabino Mullane wrote:
> 
> >> 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.

Done. Thanks.

Tim.

Reply via email to