pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: John Udick <John.Udick@zionsbancorp.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: BUG #6391: insert does not insert correct value
Date: Wed, 11 Jan 2012 10:37:02 -0600
Message-ID: <4F0D664E02000025000446AA@gw.wicourts.gov> (raw)
In-Reply-To: <BEC72D0140FBF24EB055A6D15F47FADC105A210CF0@UTEXVS02.zbc.internal>
References: <E1RkkYs-0004gn-TS@wrigleys.postgresql.org>
	<19647.1326295274@sss.pgh.pa.us>
	<BEC72D0140FBF24EB055A6D15F47FADC105A210CF0@UTEXVS02.zbc.internal>

John Udick <John.Udick@zionsbancorp.com> wrote:
 
> We did notice that although now() failed, changing this to
> 'now()'::date works (using single quotes around now()).
 
That seem unrelated to the now() function.  Casting a literal to a
date/time/timestamp supports parsing out certain keywords, like
'now', 'today', 'yesterday', and 'tomorrow'.  It's probably ignoring
those parentheses.
 
> Also, apparently we are not truly a Postgres database, but EMC's
> Greenplum database. I will be working with our admins and EMC,
> unless someone in Postgres can point out a specific version that
> resolved this issue. 
 
> "PostgreSQL 8.2.15 (Greenplum Database 4.1.1.5 build 1) on 
> x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.4.2 compiled
> on Sep 20 2011 11:09:08"
 
Yeah, I don't know how much the community lists can help with that
implementation.  It seems there is a bug in that version, but it
might not be present in the community version.
 
-Kevin



view thread (6+ messages)  latest in thread

Message-ID: <4F0D664E02000025000446AA@gw.wicourts.gov>
Permalink:  ../4F0D664E02000025000446AA@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4F0D664E02000025000446AA@gw.wicourts.gov

 · 

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: Kevin.Grittner@wicourts.gov, John.Udick@zionsbancorp.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #6391: insert does not insert correct value
  In-Reply-To: <4F0D664E02000025000446AA@gw.wicourts.gov>
  References: <E1RkkYs-0004gn-TS@wrigleys.postgresql.org> <19647.1326295274@sss.pgh.pa.us> <BEC72D0140FBF24EB055A6D15F47FADC105A210CF0@UTEXVS02.zbc.internal> <4F0D664E02000025000446AA@gw.wicourts.gov>

* 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