On Wed, Jul 30, 2014 at 5:43 AM, Andrus <kobrule...@hot.ee> wrote:
> How to create string concatenation operator which preserves trailing spaces
> on CHAR(n) type columns ?

hm, why do that at all?   how about avoid the char() type and create
views over tables using rpad when you want space padding:

create view v_foo as
  select *, rpad(f, 50, ' ') as f_padded;

merlinm


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to