Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxKxc-0004x3-L5 for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Jun 2014 18:51:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxKxb-0000sC-6C for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Jun 2014 18:51:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxKxM-0000TH-NB for pgsql-bugs@postgresql.org; Wed, 18 Jun 2014 18:51:36 +0000 Received: from mx1.cpanel.net ([208.74.121.68]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WxKxG-0002U7-II for pgsql-bugs@postgresql.org; Wed, 18 Jun 2014 18:51:33 +0000 Received: from ng1.cptxoffice.net ([208.74.121.102]:7668 helo=Felipes-Mac-Pro.local) by mx1.cpanel.net with esmtps (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WxKxA-0003m4-V3 for pgsql-bugs@postgresql.org; Wed, 18 Jun 2014 13:51:25 -0500 Message-ID: <53A1DFAC.7050903@felipegasper.com> Date: Wed, 18 Jun 2014 13:51:24 -0500 From: Felipe Gasper User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: =?UTF-8?B?4oCcc2VydmVyIGNsb3NlZCB0aGUgY29ubmVjdGlvbiB1?= =?UTF-8?B?bmV4cGVjdGVkbHnigJ0=?= References: <53A1DAB5.8080106@felipegasper.com> <53A1DE2D.7000203@vmware.com> In-Reply-To: <53A1DE2D.7000203@vmware.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mx1.cpanel.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - felipegasper.com X-Get-Message-Sender-Via: mx1.cpanel.net: acl_c_relayhosts_text_entry: *@cpanel.net|cpanel.net X-Pg-Spam-Score: -3.5 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 6/18/14 1:45 PM, Heikki Linnakangas wrote: > On 06/18/2014 09:30 PM, Felipe Gasper wrote: >> The query: >> >> SELECT schemaname, tablename >> FROM pg_tables >> WHERE tableowner IN (E'njvue5kiy1c') OR schemaname='public'; >> >> -------- >> The error: >> >> DBD::Pg::db selectall_arrayref failed: server closed the connection >> unexpectedly >> This probably means the server terminated abnormally >> before or while processing the request. >> >> -------- >> >> It happens every time. The “njvue5kiy1c” is a random generated name. > > Is there any more information in the server log? > setting log_min_messages to DEBUG5 shows this as the last query and after: ============== “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOG: 00000: statement: GRANT ALL PRIVILEGES on DATABASE "sameownerdb" TO "sameownerdb"; “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOCATION: exec_simple_query, postgres.c:842 “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: DEBUG: 00000: ProcessUtility “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOCATION: PortalRunUtility, pquery.c:1163 “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: DEBUG: 00000: CommitTransactionCommand “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOCATION: finish_xact_command, postgres.c:2369 “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: DEBUG: 00000: CommitTransaction “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOCATION: ShowTransactionState, xact.c:4116 “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: DEBUG: 00000: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 694/1/1, nestlvl: 1, children: “postgres” in “postgres” @ 2014-06-18 13:47:15 CDT: LOCATION: ShowTransactionStateRec, xact.c:4154 ============== (Curiously, setting any DEBUG* log_min_messages value also makes the log messages spit to STDERR as well as my log file.) -F -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs