pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <sr_krishna@aol.com>
To: ronljohnsonjr@gmail.com
To: pgsql-general@lists.postgresql.org
Subject: Re: date function bug
Date: Wed, 23 Oct 2019 14:32:30 +0000 (UTC)
Message-ID: <1793586722.3867823.1571841150028@mail.yahoo.com> (raw)
In-Reply-To: <a4d04d62-f166-7b91-6e0a-66e06864c2c0@gmail.com>
References: <0bac35bcde6747e485bc7468c4080798@phx-exmbprd-01.adprod.bmc.com>
	<a4d04d62-f166-7b91-6e0a-66e06864c2c0@gmail.com>


> postgres=# select to_date('2018150X','YYYYMMDD');
  > to_date
------------
> 2019-03-03


> postgres=# select to_date('20181501','YYYYMMDD');
>  to_date
> ------------
  > 2019-03-03
is this a cut-n-paste mistake?

view thread (11+ messages)  latest in thread

Message-ID: <1793586722.3867823.1571841150028@mail.yahoo.com>
Permalink:  ../1793586722.3867823.1571841150028@mail.yahoo.com/
Also on:    postgresql.org/message-id/1793586722.3867823.1571841150028@mail.yahoo.com

 · 

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-general@postgresql.org
  Cc: sr_krishna@aol.com, ronljohnsonjr@gmail.com
  Subject: Re: date function bug
  In-Reply-To: <1793586722.3867823.1571841150028@mail.yahoo.com>
  References: <0bac35bcde6747e485bc7468c4080798@phx-exmbprd-01.adprod.bmc.com> <a4d04d62-f166-7b91-6e0a-66e06864c2c0@gmail.com> <1793586722.3867823.1571841150028@mail.yahoo.com>

* 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