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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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