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 <dhogaza@pacifier.com>
  Nature photos, on-line guides, Pacific Northwest
  Rare Bird Alert Service and other goodies at
  http://donb.photo.net.

Thu, 27 Jan 2000 17:16:42 -0800
Don Baccus <dhogaza@pacifier.com>
very minor problem in contrib/dateformat/to-from_char.c
> 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

Thu, 27 Jan 2000 23:51:03 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c
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 <dhogaza@pacifier.com>
  Nature photos, on-line guides, Pacific Northwest
  Rare Bird Alert Service and other goodies at
  http://donb.photo.net.

Thu, 27 Jan 2000 21:00:50 -0800
Don Baccus <dhogaza@pacifier.com>
Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c
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


Fri, 28 Jan 2000 11:45:13 +0100 (CET)
Karel Zak - Zakkr <zakkr@zf.jcu.cz>
Re: [HACKERS] very minor problem in contrib/dateformat/to-from_char.c