X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 36D84D1B56D for ; Thu, 29 Jul 2004 04:16:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81680-04 for ; Thu, 29 Jul 2004 07:16:34 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by svr1.postgresql.org (Postfix) with ESMTP id DCAC9D1B564 for ; Thu, 29 Jul 2004 04:16:29 -0300 (ADT) Received: by mproxy.gmail.com with SMTP id 73so172057rnk for ; Thu, 29 Jul 2004 00:16:28 -0700 (PDT) Received: by 10.38.81.66 with SMTP id e66mr518rnb; Thu, 29 Jul 2004 00:16:28 -0700 (PDT) Message-ID: <235b1a280407290016621836b4@mail.gmail.com> Date: Thu, 29 Jul 2004 15:16:28 +0800 From: azah azah To: pgsql-php@postgresql.org Subject: default timestamp in postresql Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200407/37 X-Sequence-Number: 2862 Hi, I need some help to solve a problem regarding transfer the db from mysql to postresql. Previously in mysql table field as below , will be add automatic in database when execute insert statement. = submittime timestamp NOT NULL But in postresql the timestamp cannot insert automatic when execute insert statement. How can I solve this problem instead of change the php code?