BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)
BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)
От:
"ezra 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.
!>Re: BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"ezra epstein" 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