Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 849BB6323B5 for ; Wed, 14 Jan 2009 23:40:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 20765-07-3 for ; Wed, 14 Jan 2009 23:40:37 -0400 (AST) X-Greylist: delayed 08:55:52.995698 by SQLgrey-1.7.6 Received: from babylon.hostgo.com (babylon.hostgo.com [65.19.169.34]) by mail.postgresql.org (Postfix) with ESMTP id 36A1263233C for ; Wed, 14 Jan 2009 23:40:05 -0400 (AST) Received: from [195.230.105.2] (helo=[192.168.0.2]) by babylon.hostgo.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LNAib-00034h-Ty for pgsql-php@postgresql.org; Wed, 14 Jan 2009 13:44:02 -0500 Subject: PREPARE -> EXEC Problem From: "F." To: pgsql-php@postgresql.org Content-Type: text/plain Date: Wed, 14 Jan 2009 19:39:45 +0100 Message-Id: <1231958385.11956.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.2) Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - babylon.hostgo.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pas-world.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.305 tagged_above=0 required=5 tests=RCVD_IN_BL_SPAMCOP_NET=2.188, RCVD_IN_SORBS_WEB=1.117 X-Spam-Level: *** X-Archive-Number: 200901/11 X-Sequence-Number: 3966 Hello, I'm trying to execute a query with a DEFAULT value for primary key value but do not work. pdo->prepare("INSERT INTO "Table" ("id","colum") VALUES(?,?)"); $arr=('DEFAULT','helloworld'); Result of PDO is "not valid value for integer". Anyone know, How assign DEFAULT value in pdo->exec($arr)?