very minor problem in contrib/dateformat/to-from_char.c

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

very minor problem in contrib/dateformat/to-from_char.c

От:
Don Baccus <dhogaza@pacifier.com>
Дата:
gcc -Wall picks up a warning on line 1187 of this file:
          elog(ERROR, "s%: Unable to convert datetime to tm", FUNC_NAME);

I presume line 1187 should be:
          elog(ERROR, "%s: Unable to convert datetime to tm", FUNC_NAME);                       ^^ (not s%)



- Don Baccus, Portland OR  Nature photos, on-line guides, Pacific Northwest Rare Bird Alert Service and other goodies at http://donb.photo.net.

Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> gcc -Wall picks up a warning on line 1187 of this file:
> 
>            elog(ERROR, "s%: Unable to convert datetime to tm", FUNC_NAME);
> 
> I presume line 1187 should be:
> 
>            elog(ERROR, "%s: Unable to convert datetime to tm", FUNC_NAME);
>                         ^^ (not s%)

This file is removed from the tree now.  Moved to adt, where this bug
doesn't exista anymore.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610) 853-3000 +  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c

От:
Don Baccus <dhogaza@pacifier.com>
Дата:
At 11:51 PM 1/27/00 -0500, Bruce Momjian wrote:
>> gcc -Wall picks up a warning on line 1187 of this file:
>> 
>>            elog(ERROR, "s%: Unable to convert datetime to tm", FUNC_NAME);
>> 
>> I presume line 1187 should be:
>> 
>>            elog(ERROR, "%s: Unable to convert datetime to tm", FUNC_NAME);
>>                         ^^ (not s%)
>
>This file is removed from the tree now.  Moved to adt, where this bug
>doesn't exista anymore.

Thanks, I'd avoided updating my sources recently due to the issues
regarding libpq, which we absolutely depend upon.



- Don Baccus, Portland OR  Nature photos, on-line guides, Pacific Northwest Rare Bird Alert Service and other goodies at http://donb.photo.net.

Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c

От:
Karel Zak - Zakkr <zakkr@zf.jcu.cz>
Дата:
On Thu, 27 Jan 2000, Don Baccus wrote:

> At 11:51 PM 1/27/00 -0500, Bruce Momjian wrote:
> >> gcc -Wall picks up a warning on line 1187 of this file:
> >> 
> >>            elog(ERROR, "s%: Unable to convert datetime to tm", FUNC_NAME);
> >> 
> >> I presume line 1187 should be:
> >> 
> >>            elog(ERROR, "%s: Unable to convert datetime to tm", FUNC_NAME);
> >>                         ^^ (not s%)
> >
> >This file is removed from the tree now.  Moved to adt, where this bug
> >doesn't exista anymore.
> 
> Thanks, I'd avoided updating my sources recently due to the issues
> regarding libpq, which we absolutely depend upon.
Sorry, it is my bug, but as Bruce say, it is dead code.
						Karel


FAQ