Search Postgresql Archives

Re: SELECT Query returns empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bright D.L. wrote:
>Once step 6 completes, can psql see the data?

Yes, P1 makes sure and is able to see the data before sending Packet to
P2.

Not P1, but psql. If you can see the data from psql, then your problem has to be in P2. If you can't see the data from psql, then P1 is the problem.


>Does "select * from pg_stat_activity" show anything unexpected?

I have to investigate on that side.

If it's as everyone thinks, then one of them will probably be idle in transaction when queried from psql between step 6 and 7. Running it from P1 or P2 will just tell you that its running "select * from pg_stat_activity", not if it's still in transaction. You could try setting log_statement='all' and check that the logs look like you would expect. Especially the commits from both sides.

klint.

--
Klint Gore
Database Manager
Sheep CRC
A.G.B.U.
University of New England
Armidale NSW 2350

Ph: 02 6773 3789 Fax: 02 6773 3266
EMail: kgore4@xxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux