Re: Re: Updated interval patches - ECPG [was, intervalstyle....]

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Brendan Jurd <direvus(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Updated interval patches - ECPG [was, intervalstyle....]
Date: 2008-11-13 15:25:01
Message-ID: 20081113152501.GA30555@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-13 15:39:25 Okay, DLLIMPORT is making me crazy
Previous Message Magnus Hagander 2008-11-13 15:19:34 Re: [GENERAL] db_user_namespace, md5 and changing passwords