pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <aklaver@comcast.net>
To: pgsql-sql@postgresql.org
Cc: Oliveiros C, <oliveiros.cristina@marktest.pt>
Subject: Re: How to order varchar data by word
Date: Wed, 14 Oct 2009 13:54:17 -0700
Message-ID: <200910141354.17785.aklaver@comcast.net> (raw)
In-Reply-To: <99F66F53142145DE8127EAF7423AF726@marktestcr.marktest.pt>
References: <6caee9520910140240u13daba93ua20637642727776e@mail.gmail.com>
	<b4399d110910140243q408a3e50y46dd7da936bdfe57@mail.gmail.com>
	<99F66F53142145DE8127EAF7423AF726@marktestcr.marktest.pt>

On Wednesday 14 October 2009 7:13:22 am Oliveiros C, wrote:
>  Hello, list.
>
> I have a table with a varchar field that I would like to order by word, not
> by ordinal, which seems to be the default on postgres.
>
> Does anyone have a clue on how this can be done?
>
> Many thanx in advance,
>
> Best,
> Oliveiros

Can you show the SQL you are using?

-- 
Adrian Klaver
aklaver@comcast.net



view thread (7+ messages)  latest in thread

Message-ID: <200910141354.17785.aklaver@comcast.net>
Permalink:  ../200910141354.17785.aklaver@comcast.net/
Also on:    postgresql.org/message-id/200910141354.17785.aklaver@comcast.net

 · 

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: aklaver@comcast.net, oliveiros.cristina@marktest.pt
  Subject: Re: How to order varchar data by word
  In-Reply-To: <200910141354.17785.aklaver@comcast.net>

* 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