X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C24CE5333E for ; Tue, 19 Apr 2005 17:46:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18094-06 for ; Tue, 19 Apr 2005 20:46:21 +0000 (GMT) Received: from sunsite.dcc.uchile.cl (sunsite.dcc.uchile.cl [192.80.24.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6E0B653215 for ; Tue, 19 Apr 2005 17:46:19 -0300 (ADT) Received: from anakena.dcc.uchile.cl (anakena [192.80.24.6]) by sunsite.dcc.uchile.cl (8.12.11/8.12.11) with ESMTP id j3JKkFdm000500; Tue, 19 Apr 2005 16:46:15 -0400 (CLT) Received: by anakena.dcc.uchile.cl (Postfix, from userid 4151) id 0B80D52CF0; Tue, 19 Apr 2005 16:46:15 -0400 (CLT) Date: Tue, 19 Apr 2005 16:46:14 -0400 From: Alvaro Herrera To: Zuoxin.Wang@kp.org Cc: pgsql-admin@postgresql.org Subject: Re: Message-ID: <20050419204614.GA32143@dcc.uchile.cl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.342 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200504/275 X-Sequence-Number: 17288 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 () "La conclusión que podemos sacar de esos estudios es que no podemos sacar ninguna conclusión de ellos" (Tanenbaum)