Re: Printf-like function - Mailing list pgsql-general

From Igor Korot
Subject Re: Printf-like function
Date
Msg-id CA+FnnTw+UAR075_8n8xhf8VynkSth_7dJuut-J75e1aTwAkvqQ@mail.gmail.com
Whole thread Raw
In response to Re: Printf-like function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thank you.

On Fri, Nov 11, 2022 at 11:12 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Igor Korot <ikorot01@gmail.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



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Printf-like function
Next
From: Ron
Date:
Subject: Re: Upgrading to v12