Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "ezra epstein" <ee_newsgroup_post(at)prajnait(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG? server closed the connection unexpectedly 7.4 on Windows (cygwin)
Date: 2004-02-15 17:33:29
Message-ID: 9039.1076866409@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"ezra epstein" <ee_newsgroup_post(at)prajnait(dot)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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2004-02-15 18:29:37
Subject: Re: Problem with datatype REAL using the = (EQUAL) operator
Previous:From: Michael MeskesDate: 2004-02-15 15:41:09
Subject: Re: BUG #1075: ecpg rejects C keywords in SQL context

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group