Обсуждение: pgsql: Drat, can't fit an additional argument into log_error.

Поиск
Список
Период
Сортировка

pgsql: Drat, can't fit an additional argument into log_error.

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Drat, can't fit an additional argument into log_error.  Is it worth an
sprintf pushup to be sure we can report something useful for out-of-range
exitstatus?

Modified Files:
--------------
    pgsql/src/port:
        exec.c (r1.52 -> r1.53)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/exec.c.diff?r1=1.52&r2=1.53)

Re: pgsql: Drat, can't fit an additional

От
Bruce Momjian
Дата:
Tom Lane wrote:
> Log Message:
> -----------
> Drat, can't fit an additional argument into log_error.  Is it worth an
> sprintf pushup to be sure we can report something useful for out-of-range
> exitstatus?

I thought about that, but out-of-range seemed so unlikely that I didn't
do it.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +