another newbie libpq question... - Mailing list pgsql-interfaces

From miguel lam
Subject another newbie libpq question...
Date
Msg-id BAY14-F23t0OUIHNkjg00065518@hotmail.com
Whole thread Raw
List pgsql-interfaces

Hi, well mi problem is that im trying to pass a string with the select but I don't know if postgres has a function for format the query like this

select * from table1 where cod = '%' and cod2 = '%';

and then format the % simbol, because I dont want to concatenate in C all the string because is hard to do it use th epointers and all the stuff, if somebody know how to format the query , please somebody help me !



MSN Amor Busca tu ½ naranja

pgsql-interfaces by date:

Previous
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: newbie libpq question...
Next
From: Doug Homoelle
Date:
Subject: Re: newbie libpq question...