Re: tab delimiter in output - Mailing list pgsql-sql

From Marcin Krawczyk
Subject Re: tab delimiter in output
Date
Msg-id CABnqL32fqsmkY9smiSkcP2mLsHaT0LP=ORfnrN5wrgtqzVdNHw@mail.gmail.com
Whole thread Raw
In response to Re: tab delimiter in output  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-sql
This might be the case. I'm using pgAdmin but I can't find anything in it's configuration.




2013/11/25 Thomas Kellerer <spam_eater@gmx.net>
Marcin Krawczyk, 25.11.2013 12:14:
> I need to return concatenated columns separated by tab character and I can't get it to work. Here's what I tried:
>
> SELECT concat('aa', '\t', 'bb');
> SELECT concat('aa', CHR(9), 'bb');
> SELECT 'aa' || CHR(9) || 'bb';
> SELECT 'aa' || '\t' || 'bb';
>
> I get "aabb" instead of "aa       bb" in all cases. Is this a configuration issue ?
>

Which SQL tool do you use?
Maybe your SQL client simply doesn't display the tab character?






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

pgsql-sql by date:

Previous
From: Marcin Krawczyk
Date:
Subject: Re: tab delimiter in output
Next
From: Emi Lu
Date:
Subject: isnumeric(varchar) by psql