Postgres : PGCLIENTENCODING

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

gmb
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 19.05.2008, 14:05

Postgres : PGCLIENTENCODING

Postby gmb » 13.10.2009, 19:19

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: 15
Joined: 19.05.2008, 14:05

Postby gmb » 13.10.2009, 21:06

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:

Postby mdaems » 14.10.2009, 00:56

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


Return to “6.1.5”

Who is online

Users browsing this forum: No registered users and 1 guest