Postgres : PGCLIENTENCODING

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
gmb
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 19.05.2008, 14:05

Postgres : PGCLIENTENCODING

Post by gmb »

Hi all

I'm getting the following message when trying to connect to Postgres server:
[quote]SQL Error: invalid encoding name in PGCLIENTENCODING: WIN1252[/quote]

Delphi 6 application with Zeos 6.1.5 on Windows 7 (64x), PostgreSQL 8.3

I tried re-installing PG using different encoding, but had no luck.

Postgres forums informed me that the message is not one of theirs. Probably a Zeos message then?

Any help would be appreciated.

gmbouwer
gmb
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 19.05.2008, 14:05

Post by gmb »

Seems all that was necessary was a restart of the server :(
...wish I hadn't spend the whole day on this
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

invalid encoding name in PGCLIENTENCODING: WIN1252
Only this part was from postgres. The prefix is added by zeoslib hen handling a SQL error. So the postgres forums were right, but ont completely.

Mark
Image
Post Reply