pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Dirk Heinrichs <dirk.heinrichs@altum.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
Date: Thu, 04 Nov 2010 09:18:35 +0100
Message-ID: <m28w19qz6s.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <20091.1288842928@sss.pgh.pa.us>
References: <201011021514.oA2FE1FT054444@wwwmaster.postgresql.org>
	<m2wrovz8bi.fsf@2ndQuadrant.fr>
	<4CD1D141.7070108@altum.de>
	<m2iq0eqecz.fsf@2ndQuadrant.fr>
	<20091.1288842928@sss.pgh.pa.us>

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



view thread (8+ messages)  latest in thread

Message-ID: <m28w19qz6s.fsf@2ndQuadrant.fr>
Permalink:  ../m28w19qz6s.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m28w19qz6s.fsf@2ndQuadrant.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, tgl@sss.pgh.pa.us, dirk.heinrichs@altum.de
  Subject: Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
  In-Reply-To: <m28w19qz6s.fsf@2ndQuadrant.fr>
  References: <201011021514.oA2FE1FT054444@wwwmaster.postgresql.org> <m2wrovz8bi.fsf@2ndQuadrant.fr> <4CD1D141.7070108@altum.de> <m2iq0eqecz.fsf@2ndQuadrant.fr> <20091.1288842928@sss.pgh.pa.us> <m28w19qz6s.fsf@2ndQuadrant.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox