Re: date/time improvements for 7.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lockhart(at)fourpalms(dot)org
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: date/time improvements for 7.2
Date: 2001-10-19 05:20:03
Message-ID: 10525.1003468803@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Lockhart <lockhart(at)fourpalms(dot)org> writes:
> Are there places which decline to call a "normalization
> routine" if typmod is less than zero, rather than equal to -1?

The format_type routines think that typmod < 0 means "no typmod
specified". I am not sure where else this may be true, but I'm
pretty sure that that behavior was copied from elsewhere. We could
try to tighten up the convention to be that only exactly -1 means
"unspecified", but I'm worried about what code we might miss.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-10-19 06:19:43 Does "postmaster -i"...
Previous Message Thomas Lockhart 2001-10-19 03:45:03 Re: date/time improvements for 7.2