Re: Re: Updated interval patches - ECPG [was, intervalstyle....] - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: Re: Updated interval patches - ECPG [was, intervalstyle....]
Date
Msg-id 20081113152501.GA30555@feivel.credativ.de
Whole thread Raw
In response to Re: Re: Updated interval patches - ECPG [was, intervalstyle....]  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: Re: Updated interval patches - ECPG [was, intervalstyle....]  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
On Wed, Nov 12, 2008 at 02:28:56PM -0800, Ron Mayer wrote:
> Merging of the interval style into ecpg attached.

Thanks for caring about the ecpg changes too.

> I know little enough about ecpg that I can't really tell if these changes
> are for the better or worse.

The closer pgtypeslib is to the backend the better. 

> One thing in the patch that's probably a bug is that the
> constants in src/include/utils/dt.h and src/include/utils/datetime.h
> under the section "Fields for time decoding" seem not to match, so

Assuming you mean src/interfaces/ecpg/pgtypeslib/dt.h. The numbers should match IMO.

Also one files seems to be missing, there are no changes to
test/expected/pgtypeslib-dt_test.c in the patch, but when changing dt_test.pgc
this file should be changed too.

Could you add this to your work too?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: "Dmitry Koterov"
Date:
Subject: Sometimes pg_dump generates dump which is not restorable
Next
From: Tom Lane
Date:
Subject: Okay, DLLIMPORT is making me crazy