pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: petere@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Correct/improve the datetime_precision field in the information
Date: Wed, 10 Jun 2009 07:03:34 +0000 (UTC)
Message-ID: <20090610070334.D91DF75331E@cvs.postgresql.org> (raw)

Log Message:
-----------
Correct/improve the datetime_precision field in the information schema.
In particular, always show 0 for the date type instead of null, and show
6 (the default) for time, timestamp, and interval without a declared
precision.  This is now in fuller conformance with the SQL standard.

Also clarify the documentation about this.

discovered and analyzed by Konstantin Izmailov and Tom Lane

Modified Files:
--------------
    pgsql/doc/src/sgml:
        information_schema.sgml (r1.38 -> r1.39)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/information_schema.sgml?r1=1.38&r2=1...)
    pgsql/src/backend/catalog:
        information_schema.sql (r1.53 -> r1.54)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/information_schema.sql?r1=1.53&am...)




view thread (2+ messages)  latest in thread

Message-ID: <20090610070334.D91DF75331E@cvs.postgresql.org>
Permalink:  ../20090610070334.D91DF75331E@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090610070334.D91DF75331E@cvs.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: petere@postgresql.org
  Subject: Re: pgsql: Correct/improve the datetime_precision field in the information
  In-Reply-To: <20090610070334.D91DF75331E@cvs.postgresql.org>

* 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