Re: COLLATE

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Juan Francisco Diaz <jfd(at)007mundo(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: COLLATE
Date: 2003-08-15 04:45:58
Message-ID: 20030814214356.B5124-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, 14 Aug 2003, Juan Francisco Diaz wrote:

> hi, I am migratin a database from Ms Sql Server 2000 to PostgreSQL 7.3.
> So long i've been unable to find an equivalent to the COLLATE clause in
> the create table statement available in sql server. How can I define
> the character set to be used in a postgres db, table or column?

You can currently only specify the collation at initdb time and for the
entire cluster which you can do by setting the appropriate environment
variables for the initdb (I usually use something like
LANG="<whatever>" initdb ... )

You might be interested in recent discussions on pgsql-general that relate
to this subject.

In response to

  • COLLATE at 2003-08-14 15:42:08 from Juan Francisco Diaz

Browse pgsql-novice by date

  From Date Subject
Next Message cristi 2003-08-15 09:22:50 currval/sequence
Previous Message Cath Lawrence 2003-08-15 01:46:07 Re: Large object - what's happening?