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

Re: Out of memory

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Ivan Boscaino <iboscaino(at)mbigroup(dot)it>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Out of memory
Date: 2003-07-10 04:45:57
Message-ID: 20030709214512.N28062-100000@megazone23.bigpanda.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Tue, 8 Jul 2003, Ivan Boscaino wrote:

> Hi,
> I'm not sure if you know this problem.
>
> Create an empty function with 26 parameters:
>
> create function test (INTEGER,TEXT,TEXT,TEXT,CHAR(16),CHAR(11),
> BOOLEAN,BOOLEAN,BOOLEAN,BOOLEAN,BOOLEAN,BOOLEAN,
> BOOLEAN,BOOLEAN,BOOLEAN,CHAR(2),TEXT,TEXT,TEXT,TEXT,
> CHAR(5),TEXT,TEXT,TEXT,TEXT,TEXT )
> returns integer as '
> declare
> begin
>   return 0;
> end;' language 'plpgsql';
>
>
> Call it mistyping the boolean parameters:
>
> select test
> (1,'a','a','a','a','a',1,1,1,1,1,1,1,1,1,'a','a','a','a','a','a','a','a','a','a','a');
>
> Then the system crashes.

I believe this is fixed in 7.4 (or at least your example does not crash in
7.4)


In response to

Responses

pgsql-bugs by date

Next:From: Joe ConwayDate: 2003-07-10 07:29:04
Subject: Re: Out of memory
Previous:From: Stephan SzaboDate: 2003-07-10 04:44:02
Subject: Re: Precision errors in float8 type casting (as of 7.3.2 and

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