Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id EA955989B4E for ; Wed, 11 Jan 2012 12:37:26 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rl1Aw-0006H5-SB for pgsql-bugs@postgresql.org; Wed, 11 Jan 2012 16:37:26 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 11 Jan 2012 10:37:10 -0600 Message-Id: <4F0D664E02000025000446AA@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 11 Jan 2012 10:37:02 -0600 From: "Kevin Grittner" To: "John Udick" Cc: "pgsql-bugs@postgresql.org" , "Tom Lane" Subject: Re: BUG #6391: insert does not insert correct value References: <19647.1326295274@sss.pgh.pa.us> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/84 X-Sequence-Number: 32151 John Udick 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