pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
8.1 build on Solaris has LATIN9?
4+ messages / 3 participants
[nested] [flat]

* 8.1 build on Solaris has LATIN9?
@ 2005-12-16 20:10  Jerry Sievers <jerry@jerrysievers.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Jerry Sievers @ 2005-12-16 20:10 UTC (permalink / raw)
  To: pgsql-general

Hi.  I am curious how/why the Pg 8.1.1 build on Solaris 

	SunOS $hostname 5.9 Generic sun4u sparc SUNW,Ultra-250

chose LATIN9 charset as default.  Of course we can override this and
might if there's a good reason move to LATIN9 as default.

Afraid though of having anything go flakey  when we import the
original DBs with LATIN1 encoding.

I saw a message already during an import to the effect of "can't do
conversion"...

Thanks

-- 
-------------------------------------------------------------------------------
Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
                305 321-1144 (mobile	http://www.JerrySievers.com/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: 8.1 build on Solaris has LATIN9?
@ 2005-12-16 20:28  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jerry Sievers <jerry@jerrysievers.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Tom Lane @ 2005-12-16 20:28 UTC (permalink / raw)
  To: Jerry Sievers <jerry@jerrysievers.com>; +Cc: pgsql-general

Jerry Sievers <jerry@jerrysievers.com> writes:
> Hi.  I am curious how/why the Pg 8.1.1 build on Solaris 
> 	SunOS $hostname 5.9 Generic sun4u sparc SUNW,Ultra-250
> chose LATIN9 charset as default.

It probably deduced that from the locale setting (LANG or LC_ALL)
that initdb was run in.  Try "show lc_collate" if you don't remember
what that was.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: 8.1 build on Solaris has LATIN9?
@ 2005-12-16 21:47  Jerry Sievers <jerry@jerrysievers.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Jerry Sievers @ 2005-12-16 21:47 UTC (permalink / raw)
  To: pgsql-general; +Cc: pgsql-general

Please forgive the empty reply preceeding this note.

Tom Lane <tgl@sss.pgh.pa.us> writes:

> Jerry Sievers <jerry@jerrysievers.com> writes:
> > Hi.  I am curious how/why the Pg 8.1.1 build on Solaris 
> > 	SunOS $hostname 5.9 Generic sun4u sparc SUNW,Ultra-250
> > chose LATIN9 charset as default.
> 
> It probably deduced that from the locale setting (LANG or LC_ALL)
> that initdb was run in.  Try "show lc_collate" if you don't remember
> what that was.

Thanks for this info.

Interesting, it was iso8859-15.

I inidb a new cluster and this time, I  get SQL_ASCII.  This is
without a hint of language or locale stuff in the ENV.

Guessing the postgres user's env has changed since the original
cluster creation.

Have a great weekend.

> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

-- 
-------------------------------------------------------------------------------
Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
                305 321-1144 (mobile	http://www.JerrySievers.com/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: 8.1 build on Solaris has LATIN9?
@ 2005-12-17 18:54  Peter Eisentraut <peter_e@gmx.net>
  parent: Jerry Sievers <jerry@jerrysievers.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2005-12-17 18:54 UTC (permalink / raw)
  To: pgsql-general; +Cc: Jerry Sievers <jerry@jerrysievers.com>

Jerry Sievers wrote:
> Afraid though of having anything go flakey  when we import the
> original DBs with LATIN1 encoding.

LATIN1 and LATIN9 are almost the same, so unless you have Euro 
characters or some other corner cases in your data, you should just go 
ahead with this.  Note that changing to SQL_ASCII, as you suggested in 
a later mail, is likely to break much more.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-12-17 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-16 20:10 8.1 build on Solaris has LATIN9? Jerry Sievers <jerry@jerrysievers.com>
2005-12-16 20:28 ` Tom Lane <tgl@sss.pgh.pa.us>
2005-12-16 21:47   ` Jerry Sievers <jerry@jerrysievers.com>
2005-12-17 18:54 ` Peter Eisentraut <peter_e@gmx.net>

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