Re: ECPGset_var - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ECPGset_var
Date
Msg-id 20100126201441.GJ3380@alvh.no-ip.org
Whole thread Raw
In response to Re: ECPGset_var  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
Boszormenyi Zoltan wrote:
> Alvaro Herrera írta:

> > I happened to notice this misleading comment:
> >
> >         char temp[20]; /* this should be sufficient unless you have 8 byte integers */
> >   
> 
> That comment was there before I touched that function, I deleted it now.
> There will be other problems before reaching 2^31-1 internal variables,
> like compiling the monster C file without the compiler going OOM...

No, I meant

alvherre=# select length((2^32)::text), length((2^64)::text);length | length 
--------+--------    10 |     20
(1 fila)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: ECPGset_var
Next
From: Tom Lane
Date:
Subject: Re: ECPGset_var