Re: Is there any C functions that convert the entry to string?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: a <372660931(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is there any C functions that convert the entry to string?
Date: 2018-05-10 14:37:51
Message-ID: 15522.1525963071@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"=?ISO-8859-1?B?YQ==?=" <372660931(at)qq(dot)com> writes:
> Saying that I am writing a C function that may facing varies of types. Is there a postgresql function that will automatically call 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steven Lembark 2018-05-10 14:46:40 Re: Enhancement to psql command, feedback.
Previous Message Tom Lane 2018-05-10 14:33:05 Re: Domain based on TIMEZONE WITH TIME ZONE