Re: [HACKERS] Current sources dump core on COPY IN/OUT

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] Current sources dump core on COPY IN/OUT
Date: 1998-07-15 18:52:57
Message-ID: 199807151852.OAA20019@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The currently-checked-in sources are not working very well for me.
> In particular, I can't restore from my pg_dump because COPY IN
> coredumps; and a little experimentation shows that COPY OUT does too.
>
> Is anyone else seeing this?
>
> The immediate cause of the dumps seems to be trying to free() a pointer
> value 0x1. I suspect it's got something to do with the two-to-four-byte
> atttypmod changeover, but can't prove that.
>
> template1=> \copy pg_shadow to -
> QUERY: COPY pg_shadow TO stdout
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally before or while processing the request.
> We have lost the connection to the backend, so further processing is impossible.
> Terminating.

Thanks. Should be fixed now.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1998-07-15 19:52:25 Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous Message Tom Lane 1998-07-15 18:41:26 Current sources dump core on COPY IN/OUT