Re: ECPG timestamp.c

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG timestamp.c
Date: 2003-05-17 09:06:01
Message-ID: 20030517090601.GC28045@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 01, 2003 at 10:20:34PM -0400, Rod Taylor wrote:
> src/interfaces/ecpg/pgtypeslib/timestamp.c has started throwing
> warnings:
>
> timestamp.c: In function `dttofmtasc_replace':
> timestamp.c:468: warning: `%g' yields only last 2 digits of year
> timestamp.c:606: warning: `%x' yields only last 2 digits of year in some
> locales on non-BSD systems

Anyone with an idea on how to stop these warnings? Depending on the
parameter the function dttofmtasc_replace is supposed to use just the
last 2 digits.

Michael

--
Michael Meskes
Email: Michael(at)Fam-Meskes(dot)De
ICQ: 179140304, AIM: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2003-05-17 11:04:11 Re: Feature suggestions (long)
Previous Message Lamar Owen 2003-05-17 03:51:31 Patch from Aurora SPARC linux project -- -fpic verus -fPIC.