dbTalk Databases Forums  

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

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


Discuss [BUGS] BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin) in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ezra epstein
 
Posts: n/a

Default [BUGS] BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin) - 02-14-2004 , 02:29 PM






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.
!>




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

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

Default Re: [BUGS] BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin) - 02-15-2004 , 11:41 AM






"ezra epstein" <ee_newsgroup_post (AT) prajnait (DOT) com> writes:

Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


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 - 2012, Jelsoft Enterprises Ltd.