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

Re: ECPGset_var

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPGset_var
Date: 2010-01-26 20:14:42
Message-ID: 20100126201441.GJ3380@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-01-26 20:40:15
Subject: Re: ECPGset_var
Previous:From: Boszormenyi ZoltanDate: 2010-01-26 19:46:02
Subject: Re: ECPGset_var

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