Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 8785
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: grimoire [...] sparky.ox.compsoc.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.32
Fixed in: 1.40



Subject: Incorrect behaviour in primary_key / primary_key_info
I'm running Perl 5.6.1 on Debian GNU/Linux Stable, and using DBI 1.42 with DBD::Pg 1.32. When primary_key() is called on a table with no key, it returns a single-element list ( undef ) instead of an empty list, which seems incorrect. I wrongly filed this bug against DBI - you can see it at http://rt.cpan.org/NoAuth/Bug.html?id=8783 where Tim states the behaviour that DBI expects and where the faults may lie in DBD::Pg. I hope this is useful to you.