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: (view raw, whole thread or download thread mbox)
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

			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-2017 The PostgreSQL Global Development Group