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

Re: Last minute mini-proposal (I know, Iknow)forPQexecf()

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: korryd(at)enterprisedb(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Last minute mini-proposal (I know, Iknow)forPQexecf()
Date: 2007-04-02 17:15:35
Message-ID: 200704021715.l32HFZP05212@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Added to TODO:

        o Add PQexecf() that allows complex parameter substitution

         http://archives.postgresql.org/pgsql-hackers/2007-03/msg01803.php


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

korryd(at)enterprisedb(dot)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(at)enterprisedb(dot)com
>   EnterpriseDB      http://www.enterprisedb.com

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-04-02 17:45:22
Subject: Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces toprovide a default location for
Previous:From: Josh BerkusDate: 2007-04-02 17:13:15
Subject: Re: Oracle indemnifies PostgreSQL on its patents

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