Re: psql dumps core - Mailing list pgsql-general

From K. Ari Krupnikov
Subject Re: psql dumps core
Date
Msg-id 39619CEA.6C5FD34A@iln.net
Whole thread Raw
In response to Footer Text  ("Stephen Lawrence Jr." <logart@dairypower.com>)
Responses Re: psql dumps core  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
>
> "K. Ari Krupnikov" <ari@iln.net> writes:
> > psql on the clent machime aborts with this message:
>
> > psql:recreate-dbdom-db.pgsql:4: \connect: pqReadData() -- backend closed
> > the channel unexpectedly.
> >         This probably means the backend terminated abnormally
> >         before or while processing the request.
> > Segmentation fault (core dumped)
>
> > I get a core dump in the current directory on the client.
>
> No advice possible with so little information.  What is the query
> that triggers the crash?  What are the definitions of the tables
> used in the query?  Can you get a backtrace from the psql coredump
> (and also from the backend coredump, if there is one ... which seems
> likely)?
>

this sequence causes the crash

# drop databse xxx;
# create database xxx;
# \c xxx;

and i was wrong when i said the backend doesn't crash - it does.

is there a limit on how many objects (tables, functions, etc) can be
created and dropped iin postgres?

--
K. Ari Krupnikov

DBDOM - bridging XML and relational databases
http://www.iter.co.il

pgsql-general by date:

Previous
From: "Robert B. Easter"
Date:
Subject: Re: number of weeks
Next
From: Mike Mascari
Date:
Subject: Re: Re: [HACKERS] proposed improvements to PostgreSQL license