X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D712AD1B80B for ; Tue, 3 Feb 2004 15:27:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 71240-08 for ; Tue, 3 Feb 2004 11:27:22 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 64098D1D841 for ; Tue, 3 Feb 2004 11:27:19 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i13FRM3A018107; Tue, 3 Feb 2004 10:27:23 -0500 (EST) To: Czuczy Gergely Cc: pgsql-performance@postgresql.org Subject: Re: PQexecParams and types In-reply-to: References: Comments: In-reply-to Czuczy Gergely message dated "Tue, 03 Feb 2004 15:56:06 +0100" Date: Tue, 03 Feb 2004 10:27:22 -0500 Message-ID: <18106.1075822042@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/41 X-Sequence-Number: 5565 Czuczy Gergely writes: > to leave it unspecified what value should I set to the paramTypes array? > and could you insert this answer to to docs, it could be useful It is in the docs: paramTypes[] specifies, by OID, the data types to be assigned to the parameter symbols. If paramTypes is NULL, or any particular element in the array is zero, the server assigns a data type to the parameter symbol in the same way it would do for an untyped literal string. regards, tom lane