Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster