Re: puzzling perl DBI vs psql problem - Mailing list pgsql-general

From Tom Lane
Subject Re: puzzling perl DBI vs psql problem
Date
Msg-id 7262.1394738739@sss.pgh.pa.us
Whole thread Raw
In response to puzzling perl DBI vs psql problem  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
Responses Re: puzzling perl DBI vs psql problem  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
List pgsql-general
Susan Cassidy <susan.cassidy@decisionsciencescorp.com> writes:
> I have a weird issue that I can't figure out.
> If I run the exact same query through psql as through perl DBI, I get
> different results.  I get far fewer results with DBI than through the psql
> command line.

Any possibility that the perl program is connecting to a different
database, with similar-but-not-identical data in it?

I've seen variants on that theme involving different users with different
search_path settings finding different-but-similarly-named tables in
different schemas of the same database.

            regards, tom lane


pgsql-general by date:

Previous
From: Joe Van Dyk
Date:
Subject: Re: can't cast hstore to json
Next
From:
Date:
Subject: Very slow query in PostgreSQL 9.3.3