Re: server crash with CallStmt

2017-12-13 Thread Peter Eisentraut
On 12/13/17 04:46, Ashutosh Bapat wrote: > I think it shouldn't reach this code. Like a normal function > invocation, an aggregate invocation should not be allowed in a CALL > statement. Here's patch to fix it. I thought that window function > invocations and casts had similar problem, but they are

Re: server crash with CallStmt

2017-12-13 Thread Ashutosh Bapat
On Wed, Dec 13, 2017 at 12:55 PM, Rushabh Lathia wrote: > HI, > > Consider the below test: > > postgres@110311=#call sum(2+2); > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. > The connection to th