Wie kann man newlines in di e Ausgabe einfügen

Andreas Tille <[email protected]>
Newsgroups gmane.comp.db.postgresql.german
Message-ID <[email protected]>
Hallo,

ich habe ein

# SELECT 'a' || '\n' || 'b' AS test;
 test 
------
 a\nb

versucht, um zwischen die beiden Werte ein Newline einzufügen was
offensichtlich nicht funktioniert.  Wie macht man das richtig?

Viele Grüße

        Andreas.

-- 
http://fam-tille.de

-- 
Sent via pgsql-de-allgemein mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.