Re: Last minute mini-proposal (I know, Iknow)forPQexecf() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Last minute mini-proposal (I know, Iknow)forPQexecf()
Date
Msg-id 200704021715.l32HFZP05212@momjian.us
Whole thread Raw
In response to Re: Last minute mini-proposal (I know, Iknow)forPQexecf()  (<korryd@enterprisedb.com>)
List pgsql-hackers
Added to TODO:
       o Add PQexecf() that allows complex parameter substitution
        http://archives.postgresql.org/pgsql-hackers/2007-03/msg01803.php


---------------------------------------------------------------------------

korryd@enterprisedb.com wrote:
> > That's exactly the approach I don't want to take.  To implement our
> > quoting-escape additions, we'll have to stop relying on sprintf and
> > implement for ourselves whatever "standard C" escapes we want to
> > support.  
> 
> 
> Ok - then it seems like it might make sense to implement PQexecf() in
> terms of src/port/snprintf.c (and enhance that family of functions to
> support the quoting conversion specifiers that we want).
> 
> Let's just pick up this discussion in the next release cycle.
> 
> Bruce - can you add a TODO for this topic?  Thanks.
> 
> 
>         -- Korry
> 
> 
> --
>   Korry Douglas    korryd@enterprisedb.com
>   EnterpriseDB      http://www.enterprisedb.com

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Oracle indemnifies PostgreSQL on its patents
Next
From: "Simon Riggs"
Date:
Subject: Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces toprovide a default location for