Re: BR/

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: BR/
Date: 2009-07-10 22:13:30
Message-ID: 20090710221330.GI9382@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

James B. Byrne wrote:

> 2009-07-10 15:59:17 EDT hll_theheart_test 216.185.71.24(49133)
> hll_theheart_db_admin : LOG: 00000: duration: 0.782 ms statement:
> SELECT * FROM "currencies"
>
> The client program that receives this result reports that there are
> no rows returned. So where did they go"?

Is it using a different PG connection than the one doing the insert? In
that case, it won't see the new row until the inserting transaction
commits.

BTW it seems necessary to clarify that LOCATION lines correspond to the
LOG/NOTICE/WARNING/ERROR line immediately _above_ it, not the one below.
So if you see this:

LOG: foo bar
LOCATION: somewhere line N
ERROR: baz qux
LOCATION: another line

you know what to make of it, and it's not this:

LOCATION: somewhere line N
ERROR: baz qux

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

  • BR/ at 2009-07-10 20:13:45 from James B. Byrne

Responses

  • Re: BR/ at 2009-07-10 22:58:48 from James B. Byrne

Browse pgsql-general by date

  From Date Subject
Next Message Janet Jacobsen 2009-07-10 22:17:57 change location of postmaster.pid file?
Previous Message Stuart McGraw 2009-07-10 22:06:52 Re: psql language