Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones. - Mailing list pgsql-bugs

From Dimitri Fontaine
Subject Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
Date
Msg-id m28w19qz6s.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
Next
From: Merlin Moncure
Date:
Subject: Re: [PERFORM] typoed column name, but postgres didn't grump