Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, Dirk Heinrichs <dirk(dot)heinrichs(at)altum(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
Date: 2010-11-04 08:18:35
Message-ID: m28w19qz6s.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> I don't actually see any point in having two functions at all. Since
> the trigger is examining the column type internally, it could perfectly
> well do the right thing at runtime depending on column type.

Sorry, brain fart from me. Didn't realise we're talking about a trigger
that looks at the column type here, it was a misplaced general advice.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Merlin Moncure 2010-11-04 15:24:05 Re: [PERFORM] typoed column name, but postgres didn't grump
Previous Message Tom Lane 2010-11-04 03:55:28 Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.