dbTalk Databases Forums  

[BUGS] BUG #2152: psql crash reproducible

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2152: psql crash reproducible in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andreas Kretschmer
 
Posts: n/a

Default [BUGS] BUG #2152: psql crash reproducible - 01-06-2006 , 10:25 AM







The following bug has been logged online:

Bug reference: 2152
Logged by: Andreas Kretschmer
Email address: andreas (AT) a-kretschmer (DOT) de
PostgreSQL version: 8.1.0
Operating system: Debian/Linux
Description: psql crash reproducible
Details:

i wrote a wrong query, and psql crash:

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

test=# select x from (select extract(dow from ('2006/01/01'::date +
(generate_series(0,10)||'days')::interval)::date)) x;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.


I know, the query is wrong, but the client lost the connection. I'm not a
hacker, but i think, this is a bug, in the client or in the server, i don't
know.


Btw.: PG is very great! Thanks all developers for PostgreSQL!

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #2152: psql crash reproducible - 01-06-2006 , 10:45 AM






"Andreas Kretschmer" <andreas (AT) a-kretschmer (DOT) de> writes:
Quote:
test=# select x from (select extract(dow from ('2006/01/01'::date +
(generate_series(0,10)||'days')::interval)::date)) x;
server closed the connection unexpectedly
Works for me as of 8.1 branch tip, so the fix is in either 8.1.1 or
8.1.2.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


Reply With Quote
  #3  
Old   
Jaime Casanova
 
Posts: n/a

Default Re: [BUGS] BUG #2152: psql crash reproducible - 01-06-2006 , 10:51 AM



On 1/6/06, Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Andreas Kretschmer" <andreas (AT) a-kretschmer (DOT) de> writes:
test=3D# select x from (select extract(dow from ('2006/01/01'::date +
(generate_series(0,10)||'days')::interval)::date)) x;
server closed the connection unexpectedly

Works for me as of 8.1 branch tip, so the fix is in either 8.1.1 or
8.1.2.

regards, tom lane

must be in 8.1.2 because i'm saying the same error in 8.1.1

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.