"Ed L." <pgsql(at)bluepolka(dot)net> writes:
>> That might work for you, but it's not portable.
> Do you consider pg_tm.tm_gmtoff reliable and portable from
> pg_localtime(&now)?
Yeah, in fact I was just adapting the patch to use that.
regards, tom lane