Re: [gnome-db] gdafield &dbgrid & timestamp
- From: Gonzalo Paniagua Javier <gonzalo gnome-db org>
- To: GnomeDB <gnome-db-list gnome org>
- Subject: Re: [gnome-db] gdafield &dbgrid & timestamp
- Date: Mon, 7 Jan 2002 17:38:35 +0100
On Mon, Jan 07, 2002 at 01:22:07PM -0300, Juan Andrés Bentancour wrote:
> > What version of PostgreSQL do you use? It should be above 7.0
> > for 'timestamp' to work...
> >
>
> select version();
> version
> -------------------------------------------------------------
> PostgreSQL 7.1.2 on i686-pc-linux-gnu, compiled by GCC 2.96
> (1 row)
> "timestamp" == "datetime" == "timestamp with time zone"
I asked you the version because of this piece of code (from
gda-postgres-recordset.c):
|| ((cnc->version > 7.0)
&& (field->sql_type ==
gda_postgres_connection_get_sql_type
(prc->cnc, "timestamp")))) {
> "timestamp" == "datetime" == "timestamp with time zone"
Not always, as you can see in the code...
Flame war? No thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]