On Wed, Jul 30, 2014 at 5:43 AM, Andrus <[email protected]> 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 ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
