pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier
2+ messages / 2 participants
[nested] [flat]

* BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier
@ 2014-09-23 08:17  lecotegougdelaforce@free.fr
  0 siblings, 1 reply; 2+ messages in thread

From: lecotegougdelaforce@free.fr @ 2014-09-23 08:17 UTC (permalink / raw)
  To: pgsql-bugs

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.

Thanks.

Regards,

Goulven.



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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier
@ 2014-10-13 21:37  Bruce Momjian <bruce@momjian.us>
  parent: lecotegougdelaforce@free.fr
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2014-10-13 21:37 UTC (permalink / raw)
  To: lecotegougdelaforce@free.fr; +Cc: pgsql-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>
^ permalink raw reply [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-10-13 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 08:17 BUG #11474: [Documentation] Add a note about to_date() not accepting TM modifier lecotegougdelaforce@free.fr
2014-10-13 21:37 ` Bruce Momjian <bruce@momjian.us>

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