Re: Is there any C functions that convert the entry to string? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is there any C functions that convert the entry to string?
Date
Msg-id 15522.1525963071@sss.pgh.pa.us
Whole thread Raw
In response to Is there any C functions that convert the entry to string?  ("a" <372660931@qq.com>)
List pgsql-general
"=?ISO-8859-1?B?YQ==?=" <372660931@qq.com> writes:
> Saying that I am writing a C function that may facing varies of types. Is there a postgresql function that will
automaticallycall the relative to_string function and transform them to string?? 

You might look at the format() function (a/k/a text_format).

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Domain based on TIMEZONE WITH TIME ZONE
Next
From: Steven Lembark
Date:
Subject: Re: Enhancement to psql command, feedback.