pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Czuczy Gergely <phoemix@harmless.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: PQexecParams and types
Date: Tue, 03 Feb 2004 10:27:22 -0500
Message-ID: <18106.1075822042@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0402031555080.30492-100000@localhost>
References: <Pine.LNX.4.44.0402031555080.30492-100000@localhost>

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



view thread (4+ messages)

Message-ID: <18106.1075822042@sss.pgh.pa.us>
Permalink:  ../18106.1075822042@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18106.1075822042@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, phoemix@harmless.hu
  Subject: Re: PQexecParams and types
  In-Reply-To: <18106.1075822042@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox