Re: Incompatibility Postgres 7.1 - Postgres 7.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Postgres has two different timestamp types now.  There is "timestamp with 
timezone" and "timestamp without timezone".  Internally the "with timezone" is 
stored as timestamptz. And by default, a timestamp will have a timezone. You 
can think of timestamptz as the same as timestamp.

So there is really not a problem here unless you wanted a "timestamp without 
timezone".  If this is the case, currently phpPgAdmin doesn't provide for the 
creation of timestamp without timezone through the table create 
functionality.  You will have to do it manually through the "Run SQL" box in 
the DB Details page.

-Dan

Quoting Areski Belaid <areski5@xxxxxxxxxxx>:

> Someone can help me ....
> 
> I have a compatibility problem between Postgres 7.1 - Postgres 7.3...
> Guess !!! It's  --- timestamptz ---
> 
> When I create a field with timestamp type... the new postgresql replace that
> by
> timestamptz.... I use phpPgAdmin, I don't know where is from  the problem...
> 
> Simple example, If I execute that :
>     CREATE TABLE "statistic" (
>            "Id" int4 NOT NULL,
>            "DATE" timestamp);
> 
> I shall have that on the database:
>       CREATE TABLE "statistic" (
>            "Id" int4 NOT NULL,
>            "DATE" timestamptz);
> 
> Grrrrrr, =)
> 
> Helpsssssss, Areski
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
> message can get through to the mailing list cleanly





[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux