dates and encoding - Mailing list pgsql-general

From tony
Subject dates and encoding
Date
Msg-id 1014798038.2083.10.camel@vaio
Whole thread Raw
Responses Re: dates and encoding  (tony <tony@animaproductions.com>)
List pgsql-general
Been fooling around a bit with settings

NOTICE:  DateStyle is ISO with European conventions

Great but how do I get set date2 = date 'date1' + interval '30 days' to
work? it gives a "bad external date representation" error

NOTICE:  Current client encoding is 'UNICODE'
NOTICE:  Current server encoding is 'LATIN1'

Why is the client encoding different from the server encoding? They were
both the same in 7.1.x weren't they?

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


pgsql-general by date:

Previous
From: Ian Barwick
Date:
Subject: Re: [ADMIN] configure --with-pam
Next
From: Jean-Michel POURE
Date:
Subject: Re: atomicity