Re: Printf-like function

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Printf-like function
Date: 2022-11-12 05:13:08
Message-ID: CA+FnnTw+UAR075_8n8xhf8VynkSth_7dJuut-J75e1aTwAkvqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you.

On Fri, Nov 11, 2022 at 11:12 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Igor Korot <ikorot01(at)gmail(dot)com> writes:
> > Is there a printf-lilke function inside libpq that can be used
> > to create a proper query string with the proper quoting of the
> > literal?
>
> No. You'd be better off to transmit the literal value as a
> parameter.
>
> regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2022-11-12 08:44:44 Re: Upgrading to v12
Previous Message Tom Lane 2022-11-12 05:12:00 Re: Printf-like function