Re: SHOW command always returns text field

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SHOW command always returns text field
Date: 2011-08-10 18:12:49
Message-ID: 14913.1312999969@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I was slightly surprised the other day that the SHOW command always
> returns a field of type text even if the underlying parameter has one of
> the other types (int, real, etc.). Is this intentional? Would it be
> worth refining?

I'm disinclined to mess with it. One thing that couldn't easily be
"cleaned up" is the textual output for nominally-numeric parameters
that have units.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-08-10 18:16:47 Re: Enforcing that all WAL has been replayed after restoring from backup
Previous Message Peter Eisentraut 2011-08-10 18:06:19 sha1, sha2 functions into core?