Re: tab delimiter in output

From: Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: tab delimiter in output
Date: 2013-11-25 12:01:30
Message-ID: CABnqL32fqsmkY9smiSkcP2mLsHaT0LP=ORfnrN5wrgtqzVdNHw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2013-11-27 21:46:12 isnumeric(varchar) by psql
Previous Message Marcin Krawczyk 2013-11-25 12:00:01 Re: tab delimiter in output