Re: Numeric 508 datatype

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Numeric 508 datatype
Date: 2005-12-02 22:41:34
Message-ID: 200512022241.jB2MfYl03472@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> That would only affect a standalone backend, however, not normal
> >> operation.
>
> > Ah, psql itself is using the same buggy snprintf.c.
>
> Doh. OK, we gotta fix it then. But what are you going to do when you
> can't malloc enough memory? You can't ereport in a client environment,
> and there's no API for printf to report failure.

Yep, I am digging through snprintf.c now to try find a solution.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-12-02 22:42:49 Re: default_index_tablespace?
Previous Message Tom Lane 2005-12-02 22:39:34 Re: Numeric 508 datatype

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-12-02 22:45:05 Re: Optional postgres database not so optional in 8.1
Previous Message Jochem van Dieten 2005-12-02 22:41:15 Re: Reducing relation locking overhead

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-12-02 22:49:22 Re: Numeric 508 datatype
Previous Message Tom Lane 2005-12-02 22:39:34 Re: Numeric 508 datatype