Re: ecpg: dtime_t vs timestamp

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Paul Tilles <Paul(dot)Tilles(at)noaa(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ecpg: dtime_t vs timestamp
Date: 2007-08-29 14:01:42
Message-ID: 20070829140142.GA30465@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 28, 2007 at 10:59:42AM -0400, Paul Tilles wrote:
> We have upgraded from Version 7.4.x to Version 8.2.4.
> In 7.4.x, we use the Informix compatibility functionality to use legacy
> code.
> Our .pgc code looks as follows:
> ...

This is indeed a bug. Thanks for reporting it.

What happens is that ecpg defines the data types, but does not use that
define while in C code. I just committed patches to CVS. I also attach
it here. Could you please try if this fixes your problem?

Thanks.

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

Attachment Content-Type Size
ecpg.patch text/x-diff 3.9 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Decibel! 2007-08-29 14:34:36 Re: Reliable and fast money transaction design
Previous Message Dizzy 2007-08-29 13:59:16 Re: pgsql Windows installer fixed registry key