pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Fahey <mfahey@enter.net>
To: pgsql-odbc@postgresql.org
Subject: default current_timestamp problem
Date: Fri, 01 Oct 2004 18:00:12 +0000
Message-ID: <415D9B2C.9020906@enter.net> (raw)

The following table structure does not work when using the odbc driver.

It's because of the column default current_timestamp.
If i remove the default current_timestamp it works fine.

Is this not implemented or is this a bug



create table mytable(
id serial,
myname varchar(100),
thetime timestamp default current_timestamp
);

-- 
With best regards,

Mike Fahey - Systems Administration
********************************************************************
      ENTER.NET - "The Road to the Internet Starts Here!" (tm)
  (610) 437-2221 * http://www.enter.net/ * email:support@enter.net
********************************************************************




Message-ID: <415D9B2C.9020906@enter.net>
Permalink:  ../415D9B2C.9020906@enter.net/
Also on:    postgresql.org/message-id/415D9B2C.9020906@enter.net

 · 

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-odbc@postgresql.org
  Cc: mfahey@enter.net
  Subject: Re: default current_timestamp problem
  In-Reply-To: <415D9B2C.9020906@enter.net>
  References: <415D9B2C.9020906@enter.net>

* 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