Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WARvz-0002BH-Qv for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Feb 2014 22:24:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WARvz-000508-9p for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Feb 2014 22:24:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WARvy-000501-BJ for pgsql-bugs@postgresql.org; Mon, 03 Feb 2014 22:24:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WARvv-00005V-1B for pgsql-bugs@postgresql.org; Mon, 03 Feb 2014 22:24:05 +0000 MIME-Version: 1.0 Subject: BUG #9088: default are not working To: pgsql-bugs@postgresql.org From: plademan@comcast.net Date: Mon, 03 Feb 2014 22:23:23 +0000 Message-ID: <20140203222323.13575.44279@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.1 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 9088 Logged by: Patrick Lademan Email address: plademan@comcast.net PostgreSQL version: 9.3.1 Operating system: OS X 10.9.1 (13B42) Description: It appears that default values are no longer working in 9.3.1. This is the version that I am running: "PostgreSQL 9.3.1 on x86_64-apple-darwin, compiled by i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00), 64-bit" -- Test Case drop table default_test; create table default_test ( userId varchar(20) default 'test', date1 timestamp default now(), date2 timestamp default current_timestamp, date3 timestamp default localtimestamp ); insert into default_test ( userId, date1, date2, date3 ) values ( null, null, null, null ); select * from default_test; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs