pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: van Elsacker Frans <fve@atbib.be>
Cc: pgsql-sql@postgresql.org
Subject: Re: dump and schema
Date: Mon, 15 Dec 2003 11:22:07 -0500
Message-ID: <13072.1071505327@sss.pgh.pa.us> (raw)
In-Reply-To: <5.2.1.1.0.20031215163225.02a4c5b8@mail.atbib.be>
References: <5.2.1.1.0.20031215163225.02a4c5b8@mail.atbib.be>

van Elsacker Frans <fve@atbib.be> writes:
> All my tables (more than 100) have a field datumi of type date default 
> today, as this example:
> CREATE TABLE tabel (
>      ....
>      datumi date DEFAULT 'today',
>      ....
> );

This does not work anymore in PG 7.4.  You need something like

	datumi date DEFAULT CURRENT_DATE,

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <13072.1071505327@sss.pgh.pa.us>
Permalink:  ../13072.1071505327@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13072.1071505327@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, fve@atbib.be
  Subject: Re: dump and schema
  In-Reply-To: <13072.1071505327@sss.pgh.pa.us>

* 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