psql client

Started by Henrik Steffenover 23 years ago2 messagesgeneral
Jump to latest
#1Henrik Steffen
steffen@city-map.de

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
--------------------------------------------------------

#2Richard Huxton
dev@archonet.com
In reply to: Henrik Steffen (#1)
Re: psql client

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