Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group