pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Thorbjörn Eriksson <thorbjorn.eriksson@ec.se>
Cc: pgsql-sql@postgresql.org
Subject: Re: Stripping white-space in SELECT statments
Date: Thu, 19 Sep 2002 07:34:27 -0700 (PDT)
Message-ID: <20020919072834.D27151-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <MFEPJLNKECPAPFDGGEIMEENJCBAA.thorbjorn.eriksson@ec.se>


On Thu, 19 Sep 2002, [iso-8859-1] Thorbjörn Eriksson wrote:

> Hello,
>
> I've encountered a strange behavior in postgres 7.2.1 regarding how psql
> handles strings ending with space characters.
>

What locale did you initdb with?  Some locales on some systems have
behavior like that.  To test, you could try the unix sort command
on data like:
201901  Z
201901-D
201901 D
in the same locale and see what order you get (specifically where
does that first line go - on my machine it goes to the end unless
I explicitly choose a locale like "C")




view thread (9+ messages)  latest in thread

Message-ID: <20020919072834.D27151-100000@megazone23.bigpanda.com>
Permalink:  ../20020919072834.D27151-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020919072834.D27151-100000@megazone23.bigpanda.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, thorbjorn.eriksson@ec.se
  Subject: Re: Stripping white-space in SELECT statments
  In-Reply-To: <20020919072834.D27151-100000@megazone23.bigpanda.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