pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Teege <matthias@mteege.de>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pg_connect dumps core
Date: Sun, 04 Mar 2001 11:31:40 -0500
Message-ID: <9431.983723500@sss.pgh.pa.us> (raw)
In-Reply-To: <200103041334.OAA01945@moon.mteege.de>
References: <200103041334.OAA01945@moon.mteege.de>

Matthias Teege <matthias@mteege.de> writes:
> tclsh8.3
> % load libpgtcl.so
> % pg_connect m3
> Connection to database failed
> FATAL 1:  Database "m3" does not exist in the system catalog.
> % pg_connect m2
> Segmentation fault (core dumped)

> in postgresql errlog there are:

> FATAL 1:  Database "m3" does not exist in the system catalog.
> pq_recvbuf: unexpected EOF on client connection 

Strange.  Evidently it's getting as far as opening the connection
(pq_recvbuf is used in the backend, not the postmaster), but then
crashing after that.  I can't see any reason why it would work for
pgaccess but not for you.  (I notice that pgaccess uses the conninfo
style of arguments to pg_connect, but that shouldn't make a
difference...)

Can you provide a stack backtrace from the core file?

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <9431.983723500@sss.pgh.pa.us>
Permalink:  ../9431.983723500@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9431.983723500@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, matthias@mteege.de
  Subject: Re: pg_connect dumps core
  In-Reply-To: <9431.983723500@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox