Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] Frontend coredumps on NOTICE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Leon <leon(at)udmnet(dot)ru>
Cc: bughunters <pgsql-bugs(at)postgreSQL(dot)org>
Subject: Re: [BUGS] Frontend coredumps on NOTICE
Date: 1999-07-16 13:39:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Leon <leon(at)udmnet(dot)ru> writes:
> This trouble has been reported to general list some time ago, 
> but without success. The bug is simple: frontend, written in C
> (with libpq) dies with core dump on any query that returns NOTICE
> from backend.

No one else is seeing this, so I feel fairly safe in betting that
it's some bug in your own code.  You didn't do something silly
like closing stderr, did you?

You might try setting a breakpoint at defaultNoticeProcessor in
fe-connect.c, and seeing whether control is getting there or not.
A stack backtrace from the core file would be helpful info as well.

			regards, tom lane


pgsql-bugs by date

Next:From: Tom LaneDate: 1999-07-16 14:49:19
Subject: Oversize proc sources (was Re: [BUGS] Backend dies creating plpgsql procedures (with reproducible example!))
Previous:From: LeonDate: 1999-07-16 11:53:19
Subject: Frontend coredumps on NOTICE

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group