Re: Make length(char(n)) return 'true' length - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Make length(char(n)) return 'true' length
Date
Msg-id 200402121858.i1CIwce12101@candle.pha.pa.us
Whole thread Raw
In response to Make length(char(n)) return 'true' length  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Gavin Sherry wrote:
> I believe Tom applied this while you were away.

Oh, sorry, I see it now:
test=> select length('blah'::char(10)); length--------      4(1 row)

I did test this before placing it the queue, but I now realize I have
been testing regression installs, not command-line installs that I invoke
via psql manually.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Make length(char(n)) return 'true' length
Next
From: Gavin Sherry
Date:
Subject: Re: Make length(char(n)) return 'true' length