Обсуждение: psql client

Поиск
Список
Период
Сортировка

psql client

От
"Henrik Steffen"
Дата:
hello all,

I just noticed the following behaviour with psql:

From within my perl-application and from pgAdmin a SELECT foo FROM bar WHERE id=123 delivers:

<P align=center>Auf den Seiten dieser Homepage finden Sie eine Auswahl der schönsten Bilder von der größten deutschen
Insel</P>
<P align=center>Rügen</P>

which is correct. BUT - doing the same query from psql, I see:

<P align=center>Auf den Seiten dieser Homepage finden Sie eine Auswahl der schö
<P align=center>Rügen</P>ten deutschen Insel</P>

Is there any problem with newline / linefeeds in psql-client?

Mit freundlichem Gruß

Henrik Steffen
Geschäftsführer

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.com          Tel. +49 4141 991230
mail: steffen@topconcepts.com       Fax. +49 4141 991233
--------------------------------------------------------
24h-Support Hotline:  +49 1908 34697 (EUR 1.86/Min,topc)
--------------------------------------------------------
System-Partner gesucht: http://www.franchise.city-map.de
--------------------------------------------------------
Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563
--------------------------------------------------------


Вложения

Re: psql client

От
Richard Huxton
Дата:
On Monday 05 Aug 2002 5:03 pm, Henrik Steffen wrote:
> <P align=center>Auf den Seiten dieser Homepage finden Sie eine Auswahl der
> schönsten Bilder von der größten deutschen Insel</P> <P
> align=center>Rügen</P>
>
> which is correct. BUT - doing the same query from psql, I see:
>
> <P align=center>Auf den Seiten dieser Homepage finden Sie eine Auswahl der
> schö <P align=center>Rügen</P>ten deutschen Insel</P>
>
> Is there any problem with newline / linefeeds in psql-client?

It will display them according to normal rules, so a CR will move the cursor
to the start of the current line. This tends to cause problems for human
interpretation of results, but client applications cope just fine.

- Richard Huxton