psql dumps core when entering invalid backslash command

Started by PostgreSQL Bugs Listalmost 25 years ago6 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Lukas Ertl (l.ertl@univie.ac.at) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
psql dumps core when entering invalid backslash command

Long Description
PostgreSQL v. 7.1.1., running on FreeBSD 4.3, standard installation via the ports collection.

When entering an invalid backslash command in psql (like "\m"), psql dumps core, psql gives error "Invalid command", but then dumps core.

Sample Code
httplog=# \m
Invalid command \m. Try \? for help.
Segmentation fault (core dumped)

No file was uploaded with this report

#2Peter Eisentraut
peter_e@gmx.net
In reply to: PostgreSQL Bugs List (#1)
Re: psql dumps core when entering invalid backslash command

Lukas Ertl (l.ertl@univie.ac.at) reports a bug with a severity of 2

PostgreSQL v. 7.1.1., running on FreeBSD 4.3, standard installation via the ports collection.

When entering an invalid backslash command in psql (like "\m"), psql dumps core, psql gives error "Invalid command", but then dumps core.

Sample Code
httplog=# \m
Invalid command \m. Try \? for help.
Segmentation fault (core dumped)

Upgrade to 7.1.2 when it comes out or get the latest from the 7.1 branch
from CVS.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#3Lukas Ertl
l.ertl@univie.ac.at
In reply to: Peter Eisentraut (#2)
Re: psql dumps core when entering invalid backslash command

On Mon, 21 May 2001, Peter Eisentraut wrote:

Lukas Ertl (l.ertl@univie.ac.at) reports a bug with a severity of 2

Sample Code
httplog=# \m
Invalid command \m. Try \? for help.
Segmentation fault (core dumped)

Upgrade to 7.1.2 when it comes out or get the latest from the 7.1 branch
from CVS.

When is 7.1.2 planned to be released?

regards,
le

--
Lukas Ertl eMail: l.ertl@univie.ac.at
WWW-Redaktion Tel.: (+43 1) 4277-14073
Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140
der Universit�t Wien

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: psql dumps core when entering invalid backslash command

pgsql-bugs@postgresql.org writes:

psql dumps core when entering invalid backslash command

Yup, known bug inadvertently introduced in 7.1.1, already fixed for 7.1.2.

(Hey Marc, where is 7.1.2 anyway?)

regards, tom lane

#5Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#4)
Re: psql dumps core when entering invalid backslash command

pgsql-bugs@postgresql.org writes:

psql dumps core when entering invalid backslash command

Yup, known bug inadvertently introduced in 7.1.1, already fixed for 7.1.2.

(Hey Marc, where is 7.1.2 anyway?)

We were waiting on some optimizer change, I thought. I don't remember
the specifics but I thought it had to do with UNION plans. Also, there
was some talk of waiting to get a port added (QNX?).

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#6Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#5)
Re: psql dumps core when entering invalid backslash command

Bruce Momjian <pgman@candle.pha.pa.us> writes:

(Hey Marc, where is 7.1.2 anyway?)

We were waiting on some optimizer change, I thought. I don't remember
the specifics but I thought it had to do with UNION plans.

No such issue pending that I know of.

regards, tom lane