Re: SQLSTATE[08006] [7] server closed the connection unexpectedly

From: Yvon Thoraval <yvon(dot)thoraval(at)gmail(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SQLSTATE[08006] [7] server closed the connection unexpectedly
Date: 2012-09-14 16:39:13
Message-ID: CAG6bkBxW7PDjZ1n_oha7pwFW_RSeo7+xC0cu7CDnrUjtr0ZXyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2012/9/14 Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>

>
> Is this repeatable?
>

YES, may be i didn't mention that about the same config on another computer
running mac OS X, works very well with same php script. Also this php
script was working 2 months ago...
i suspect something had changed on Xubuntu within pdo, php and psql ?

> That message normally means that the server process crashed.
>

I don't think so because even after this error I'm still able to connect to
the db that way :
$ psql -h localhost -U yt -d yt_tests
Password for user yt:
psql (9.1.5)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.

yt_tests=> select * from weather;
city | temp_lo | temp_hi | prcp | date
---------------+---------+---------+------+------------
San Francisco | 46 | 50 | 0.25 | 1994-11-27
Hayward | 37 | 54 | | 1994-11-29
San Francisco | 43 | 57 | 0 | 1994-11-29
(3 rows)

yt_tests=> \q

What is in the PostgreSQL server log file?
>

Nothing mentionned about this prob.

> You may want to set log_statement='all' in postgresql.conf
>

OK, fine thanks, I'll do that ASAP and repost.

> to get more context.
>
> Yours,
> Laurenz Albe
>

--
Yvon

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yvon Thoraval 2012-09-14 16:50:05 Re: SQLSTATE[08006] [7] server closed the connection unexpectedly
Previous Message Tom Lane 2012-09-14 16:37:34 Re: OFFTOPIC: core dumped with strcpy,atoi,sprintf.