Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 011684759B4 for ; Sat, 1 Jun 2002 11:29:54 -0400 (EDT) Received: from ryloth.acucore.com (unknown [65.204.194.43]) by postgresql.org (Postfix) with SMTP id BC1044758EF for ; Sat, 1 Jun 2002 11:27:23 -0400 (EDT) Received: (qmail 17729 invoked by uid 508); 1 Jun 2002 14:33:16 -0000 Received: from dan@acucore.com by ryloth.acucore.com by uid 505 with qmail-scanner-1.10 (hbedv: 6.13.0.4. hbedv: product: AntiVir. hbedv: operating system: Linux (glibc). hbedv: product version: 2.0.2. hbedv: engine version: 6.13.0.4. hbedv: packlib version: 2.0.0.2 (supports 18 formats). hbedv: vdf version: 6.13.0.21. hbedv: registered user: Dan Wilson, Cedar Hills. hbedv: serial number: 1001019348. hbedv: key expires: 31 May 2003. hbedv: run mode: PRIVATE. spamassassin. Clear:0. Processed in 0.800993 secs); 01 Jun 2002 14:33:16 -0000 Received: from localhost (127.0.0.1) by 0 with SMTP; 1 Jun 2002 14:33:15 -0000 Received: from slc316.modem.xmission.com (slc316.modem.xmission.com [166.70.2.62]) as user dwilson@acucore.com@localhost by webmail.acucore.com with HTTP; Sat, 1 Jun 2002 08:33:15 -0600 Message-ID: <1022941995.3cf8db2b32686@webmail.acucore.com> Date: Sat, 1 Jun 2002 08:33:15 -0600 From: Dan Wilson To: Areski Belaid Cc: pgsql-php@postgresql.org Subject: Re: Incompatibility Postgres 7.1 - Postgres 7.3 References: <3CCE936B.245D870C@juliana-multimedia.com> <200204301522.44037.jm.poure@freesurf.fr> <3CCECCD8.A11B8F8C@juliana-multimedia.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Priority: 3 (Normal) X-Spam-Status: No, hits=-3.2 required=5.0 tests=IN_REP_TO,AWL version=2.20 X-Spam-Level: X-Archive-Number: 200206/2 X-Sequence-Number: 1255 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 : > 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@postgresql.org so that your > message can get through to the mailing list cleanly