pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zuoxin.Wang@kp.org
To: alvherre@dcc.uchile.cl
Cc: pgsql-admin@postgresql.org
Subject: Re:
Date: Tue, 19 Apr 2005 14:09:04 -0700
Message-ID: <OF62753886.12AE3108-ON88256FE8.00741610@KP.ORG> (raw)

Thanks Alvaro, you are right. Appreciate your quick help.


Jason






Alvaro Herrera <alvherre@dcc.uchile.cl>
04/19/2005 01:46 PM

 
        To:     Zuoxin Wang/CA/KAIPERM@Kaiperm
        cc:     pgsql-admin@postgresql.org
        Subject:        Re: [ADMIN]


On Tue, Apr 19, 2005 at 01:27:09PM -0700, Zuoxin.Wang@kp.org wrote:

> test=# select used from patient;
>  used
> ------
>  N
>  N
> (2 rows)

Try

select '{' || used || '}' from patient;

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

Looks like you have some non-printable character in the used column.

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"La conclusión que podemos sacar de esos estudios es que
no podemos sacar ninguna conclusión de ellos" (Tanenbaum)

Message-ID: <OF62753886.12AE3108-ON88256FE8.00741610@KP.ORG>
Permalink:  ../OF62753886.12AE3108-ON88256FE8.00741610@KP.ORG/
Also on:    postgresql.org/message-id/OF62753886.12AE3108-ON88256FE8.00741610@KP.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: Zuoxin.Wang@kp.org, alvherre@dcc.uchile.cl
  Subject: Re: 
  In-Reply-To: <OF62753886.12AE3108-ON88256FE8.00741610@KP.ORG>
  References: <OF62753886.12AE3108-ON88256FE8.00741610@KP.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