pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #9085: Server segfault from psql
2+ messages / 2 participants
[nested] [flat]

* BUG #9085: Server segfault from psql
@ 2014-02-03 15:43 hardy.falk@blue-cable.de
  2014-02-03 17:58 ` Re: BUG #9085: Server segfault from psql Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: hardy.falk@blue-cable.de @ 2014-02-03 15:43 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      9085
Logged by:          Hardy Falk
Email address:      hardy.falk@blue-cable.de
PostgreSQL version: 9.3.2
Operating system:   Linux ubuntu 2.6.32-55-generic #117-Ubuntu SMP Tue
Description:        

create table foo ( x int ) ; 
CREATE TABLE
alasys=> create function zzz( v foo ) returns void as 
alasys-> $$
alasys$> insert into foo(x) values (v.*) 
alasys$> $$ language SQL ; 
The connection to the server was lost. Attempting reset: Failed.

Server log:
LOG:  server process (PID 4995) was terminated by signal 11: Segmentation
fault
DETAIL:  Failed process was running: create function zzz( v foo ) returns
void as 
	$$
	insert into foo(x) values (v.*) 
	$$ language SQL ;
LOG:  terminating any other active server processes
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the
current transaction and exit, because another server process exited
abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and
repeat your command. ( true :-) ) 


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #9085: Server segfault from psql
  2014-02-03 15:43 BUG #9085: Server segfault from psql hardy.falk@blue-cable.de
@ 2014-02-03 17:58 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2014-02-03 17:58 UTC (permalink / raw)
  To: hardy.falk@blue-cable.de; +Cc: pgsql-bugs

hardy.falk@blue-cable.de writes:
> create table foo ( x int ) ; 
> CREATE TABLE
> alasys=> create function zzz( v foo ) returns void as 
> alasys-> $$
> alasys$> insert into foo(x) values (v.*) 
> alasys$> $$ language SQL ; 
> The connection to the server was lost. Attempting reset: Failed.

Hm, looks like sql_fn_post_column_ref() fails to allow for A_Star nodes.
Will fix, thanks for the report!

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-02-03 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-02-03 15:43 BUG #9085: Server segfault from psql hardy.falk@blue-cable.de
2014-02-03 17:58 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox