Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XdnIv-0008QG-9A for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 21:37:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XdnIu-0008BU-PG for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 21:37:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XdnIu-0008BO-4k for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 21:37:20 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XdnIq-0000vs-Hp for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 21:37:19 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XdnIo-000268-7d; Mon, 13 Oct 2014 17:37:14 -0400 Date: Mon, 13 Oct 2014 17:37:14 -0400 From: Bruce Momjian To: lecotegougdelaforce@free.fr Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier Message-ID: <20141013213714.GO21267@momjian.us> References: <20140923081737.17171.84973@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IbVRjBtIbJdbeK1C" Content-Disposition: inline In-Reply-To: <20140923081737.17171.84973@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --IbVRjBtIbJdbeK1C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + --IbVRjBtIbJdbeK1C Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="tm.diff" 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 **** ! TM does not include trailing blanks. --- 5781,5789 ---- ! TM does not include trailing blanks. ! to_timestamp and to_date ignore ! the TM modifier. --IbVRjBtIbJdbeK1C Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --IbVRjBtIbJdbeK1C--