Re: PQexecParams and types - Mailing list pgsql-performance

From Tom Lane
Subject Re: PQexecParams and types
Date
Msg-id 18106.1075822042@sss.pgh.pa.us
Whole thread Raw
In response to Re: PQexecParams and types  (Czuczy Gergely <phoemix@harmless.hu>)
List pgsql-performance
Czuczy Gergely <phoemix@harmless.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

pgsql-performance by date:

Previous
From: Czuczy Gergely
Date:
Subject: Re: PQexecParams and types
Next
From: "Kevin Barnard"
Date:
Subject: Re: Increasing number of PG connections.