Skip site navigation (1) Skip section navigation (2)

Re: Charset/collate support and function parameters

From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Charset/collate support and function parameters
Date: 2004-10-30 21:32:14
Message-ID: Pine.LNX.4.44.0410302330100.2015-100000@zigo.dhs.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sat, 30 Oct 2004, Tom Lane wrote:

> > The alternative is storing the charset and collation inside each string.  
> > That seems like a too big price to pay, it belong in the type.
> 
> No, the alternative you're proposing is too big a price to pay.

So you want to expand every string with 8 bytes (two oid's)?

Or special case the storing in tables so that you only store the text and
not the charset/collation info?

-- 
/Dennis Björklund


In response to

Responses

pgsql-hackers by date

Next:From: Markus BertheauDate: 2004-10-30 21:55:48
Subject: Re: array_to_column function
Previous:From: Tom LaneDate: 2004-10-30 21:24:10
Subject: Re: Charset/collate support and function parameters

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group