BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)

Started by ezra epsteinabout 22 years ago2 messagesbugs
Jump to latest
#1ezra epstein
ee_newsgroup_post@prajnait.com

The following query yields:

PublishWorks=> select count(*) from merchandise.ds_item(6);
count
-------
815
(1 row)

Yet the following produces:

PublishWorks=> select count(item.*) from merchandise.ds_item(6) item;
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.
!>

As does:

PublishWorks=> select count(item.*) from merchandise.ds_item(6) as item;
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.
!>

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: ezra epstein (#1)
Re: BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)

"ezra epstein" <ee_newsgroup_post@prajnait.com> writes:

PublishWorks=> select count(item.*) from merchandise.ds_item(6) item;
server closed the connection unexpectedly

I can't duplicate it here; sure the problem isn't in your function?

regression=# create function z() returns setof tenk1 as
regression-# 'select * from tenk1' language sql;
CREATE FUNCTION
regression=# select count(*) from z();
count
-------
10000
(1 row)

regression=# select count(a.*) from z() a;
count
-------
10000
(1 row)

regards, tom lane