pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: lecotegougdelaforce@free.fr
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier
Date: Mon, 13 Oct 2014 17:37:14 -0400
Message-ID: <20141013213714.GO21267@momjian.us> (raw)
In-Reply-To: <20140923081737.17171.84973@wrigleys.postgresql.org>
References: <20140923081737.17171.84973@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Tue, Sep 23, 2014 at 08:17:37AM +0000, lecotegougdelaforce@free.fr wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      11474
> Logged by:          Goulven Guillard
> Email address:      lecotegougdelaforce@free.fr
> PostgreSQL version: 9.3.5
> Operating system:   Fedora 20
> Description:        
> 
> Hi,
> 
> The issue about to_date() and to_timestamp() not accepting localized month
> and day names is still on the TODO list.  However, reading the documentation
> about data type formatting functions, one would expect the TM modifier to be
> effective.  A note should be added to the already existing list of usage
> notes to make it clear.

Attached patch applied.  Thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachments:

tm.diff (text/x-diff, 648B) download diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml new file mode 100644 index 3a7cfa9..7e5bcd9 *** a/doc/src/sgml/func.sgml --- b/doc/src/sgml/func.sgml *************** SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1 *** 5781,5787 **** <listitem> <para> ! <literal>TM</literal> does not include trailing blanks. </para> </listitem> --- 5781,5789 ---- <listitem> <para> ! <literal>TM</literal> does not include trailing blanks. ! <function>to_timestamp</> and <function>to_date</> ignore ! the <literal>TM</literal> modifier. </para> </listitem>

view thread (2+ messages)

Message-ID: <20141013213714.GO21267@momjian.us>
Permalink:  ../20141013213714.GO21267@momjian.us/
Also on:    postgresql.org/message-id/20141013213714.GO21267@momjian.us

 ·  · 

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: bruce@momjian.us, lecotegougdelaforce@free.fr
  Subject: Re: BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier
  In-Reply-To: <20141013213714.GO21267@momjian.us>
  References: <20140923081737.17171.84973@wrigleys.postgresql.org> <20141013213714.GO21267@momjian.us>

* 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