Re: PQexecParams and types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Czuczy Gergely <phoemix(at)harmless(dot)hu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PQexecParams and types
Date: 2004-02-03 15:27:22
Message-ID: 18106.1075822042@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Czuczy Gergely <phoemix(at)harmless(dot)hu> 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Barnard 2004-02-03 15:34:01 Re: Increasing number of PG connections.
Previous Message Tom Lane 2004-02-03 15:10:29 Re: COPY from question