Обсуждение: postgresql 8.0.0 beta1

Поиск
Список
Период
Сортировка

postgresql 8.0.0 beta1

От
Hans-Ulrich Schaefer
Дата:
I compiled on Linux with no extra options.

using the psql monitor comman line editing works but psql will abort
with signal 11 (SIGSEV) when trying to do a "real" edit by using \e


--
mfG

* Hans-Ulrich Schaefer                        Phone: +(0)89-289-27819 *
* LRZ  Abt. Hochleistungsrechnen              Email: schaefer@lrz.de  *
* Barer Strasse 21 80333 Muenchen                                     *

Re: postgresql 8.0.0 beta1

От
Michael Fuhr
Дата:
On Fri, Aug 13, 2004 at 02:41:26PM +0200, Hans-Ulrich Schaefer wrote:
> I compiled on Linux with no extra options.
>
> using the psql monitor comman line editing works but psql will abort
> with signal 11 (SIGSEV) when trying to do a "real" edit by using \e

Confirmed on Solaris 9.

test=> \e
Segmentation fault (core dumped)

(gdb) bt
#0  0xfee344d8 in strlen () from /usr/lib/libc.so.1
#1  0x00027ea0 in trim_trailing_separator ()
#2  0x00027fb0 in canonicalize_path ()
#3  0x000145a8 in exec_command ()

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: postgresql 8.0.0 beta1

От
Bruce Momjian
Дата:
Confirmed on BSD/OS.  Looks like we found us a bug.

---------------------------------------------------------------------------

Michael Fuhr wrote:
> On Fri, Aug 13, 2004 at 02:41:26PM +0200, Hans-Ulrich Schaefer wrote:
> > I compiled on Linux with no extra options.
> >
> > using the psql monitor comman line editing works but psql will abort
> > with signal 11 (SIGSEV) when trying to do a "real" edit by using \e
>
> Confirmed on Solaris 9.
>
> test=> \e
> Segmentation fault (core dumped)
>
> (gdb) bt
> #0  0xfee344d8 in strlen () from /usr/lib/libc.so.1
> #1  0x00027ea0 in trim_trailing_separator ()
> #2  0x00027fb0 in canonicalize_path ()
> #3  0x000145a8 in exec_command ()
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: postgresql 8.0.0 beta1

От
Tom Lane
Дата:
Hans-Ulrich Schaefer <Hans-Ulrich.Schaefer@lrz-muenchen.de> writes:
> using the psql monitor comman line editing works but psql will abort
> with signal 11 (SIGSEV) when trying to do a "real" edit by using \e

Fixed --- thanks for the report!

            regards, tom lane