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

Re: Question on libpq parameters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Owen Hartnett <owen(at)clipboardinc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question on libpq parameters
Date: 2008-11-30 18:26:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Owen Hartnett <owen(at)clipboardinc(dot)com> writes:
> Yes, it did.  I'm confused.  My first parameter is a string, but the 
> following two are integers.  I thought the paramType parameter 
> indicated the type.  Do the integers need to be sprintf'd to strings? 


Alternatively, you could pass the integers as binary, but that's not
notation-free either (you need htonl or some such).

			regards, tom lane

In response to


pgsql-general by date

Next:From: AndrusDate: 2008-11-30 20:18:58
Subject: Re: db backup script in gentoo
Previous:From: Tom LaneDate: 2008-11-30 17:58:10
Subject: Re: Query too slow with "not in" condition

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