pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Zuoxin.Wang@kp.org
Cc: pgsql-admin@postgresql.org
Subject: Re:
Date: Tue, 19 Apr 2005 15:01:44 -0600
Message-ID: <20050419210144.GA82012@winnie.fuhr.org> (raw)
In-Reply-To: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>
References: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>

On Tue, Apr 19, 2005 at 01:27:09PM -0700, Zuoxin.Wang@kp.org wrote:
>
> test=# select  first_name, last_name, used, birthday from patient;
>  first_name | last_name | used |  birthday
> ------------+-----------+------+------------
>    | 1960-02-01DI       | N
>    | 1960-02-01DI       | N
> (2 rows)

I'd guess that the "used" columns contain carriage returns.  What
do you see if you run the following query?

SELECT replace(used, '\r', '\\r'), length(used) FROM patient;

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (5+ messages)  latest in thread

Message-ID: <20050419210144.GA82012@winnie.fuhr.org>
Permalink:  ../20050419210144.GA82012@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050419210144.GA82012@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, Zuoxin.Wang@kp.org
  Subject: Re: 
  In-Reply-To: <20050419210144.GA82012@winnie.fuhr.org>
  References: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG> <20050419210144.GA82012@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox