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

From Tom Lane
Subject Re: Printf-like function
Date
Msg-id 9309.1668229920@sss.pgh.pa.us
Whole thread Raw
In response to Printf-like function  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Printf-like function  (Igor Korot <ikorot01@gmail.com>)
List pgsql-general
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: Adrian Klaver
Date:
Subject: Re: Upgrading to v12
Next
From: Igor Korot
Date:
Subject: Re: Printf-like function