pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedtimestamp via odbc
2+ messages / 2 participants
[nested] [flat]
* timestamp via odbc
@ 2004-10-04 15:48 Mike Fahey <mfahey@enter.net>
0 siblings, 0 replies; 2+ messages in thread
From: Mike Fahey @ 2004-10-04 15:48 UTC (permalink / raw)
To: pgsql-odbc
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
********************************************************************
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: timestamp via odbc
@ 2004-10-04 19:56 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Page @ 2004-10-04 19:56 UTC (permalink / raw)
To: Mike Fahey <mfahey@enter.net>; pgsql-odbc
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Mike Fahey
> Sent: 04 October 2004 16:48
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] timestamp via odbc
>
> 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 );
I just tested on a 7.3.2 server with psqlOBDC 08.00.0001 & pgAdmin II on
the frontend and it works just fine for me. Can you test with the latest
driver please?
Regards, Dave.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-10-04 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-04 15:48 timestamp via odbc Mike Fahey <mfahey@enter.net>
2004-10-04 19:56 Re: timestamp via odbc Dave Page <dpage@vale-housing.co.uk>
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