| From: | Andrew Schmeder <andy(at)qabobala(dot)xapnet(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Inconsistent query results... |
| Date: | 2000-04-29 20:53:58 |
| Message-ID: | 00042913581007.00274@qabobala |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Okay... so I tried putting a test query "select 1" in front of the given query
and that fails also....
> Problem is, after using pg_numrows to determine how many rows were selected,
it > returns 0 about 5-10% of the time. Weird, isn't it? When this happens the
> PHP script will return an error stating "hostname could not be resolved", as
> it should.
Basically one of the postgres backends was failing to work properly (or php
messed up the persistant connection... ?) ... with 6 http processes ~15%
failure makes sense.
A restart of the http server fixed it ... for now. I am still sort of
wondering on this event though... its not very nice behavior. Maybe I will
have to schedule regular http restarts.
-Andy
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Travis Bauer | 2000-04-29 21:13:51 | Re: problem with nested views |
| Previous Message | Andrew Schmeder | 2000-04-29 20:10:49 | Inconsistent query results... |