pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Zuoxin.Wang@kp.org
Cc: pgsql-admin@postgresql.org
Subject: Re:
Date: Tue, 19 Apr 2005 15:48:01 -0500
Message-ID: <1113943681.20921.562.camel@state.g2switchworks.com> (raw)
In-Reply-To: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>
References: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>

It looks like you have some non-printing characters (like ansi
positioning characters or something) in your data.

On Tue, 2005-04-19 at 15:27, Zuoxin.Wang@kp.org wrote:
> Hi all,
> Does any one know why I have following inconsistant results from
> PostgreSQL?
> Thanks in advance.
>  
> test=# select birthday from patient;
>   birthday
> ------------
>  1960-02-01
>  1960-02-01
> (2 rows)
> 
> test=# select used from patient;
>  used
> ------
>  N
>  N
> (2 rows)
> 
> 
> 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)
> 
> test=# select  first_name, last_name, birthday, used from patient;
>  first_name | last_name |  birthday  | used
> ------------+-----------+------------+------
>  AAAAAA     | TDI       | 1960-02-01 | N
>  AAAAAB     | TDI       | 1960-02-01 | N
> (2 rows)
> 
> test=#
> 
> Jason



view thread (5+ messages)  latest in thread

Message-ID: <1113943681.20921.562.camel@state.g2switchworks.com>
Permalink:  ../1113943681.20921.562.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1113943681.20921.562.camel@state.g2switchworks.com

 · 

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: smarlowe@g2switchworks.com, Zuoxin.Wang@kp.org
  Subject: Re: 
  In-Reply-To: <1113943681.20921.562.camel@state.g2switchworks.com>
  References: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG> <1113943681.20921.562.camel@state.g2switchworks.com>

* 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