Page 1 of 1

PostgreSQL Connect

Posted: Wed 14 May 2014 12:59
by nelson.cardoso
hi,

how to solve???

SQL Server Error: invalid value for parameter "client_encoding":"WIN1252"

Re: PostgreSQL Connect

Posted: Wed 14 May 2014 13:20
by AlexP
Hello,

Please describe the problem in more details: at what exact moment does the error occur (provide the Delphi code), what versions of PostgreSQL, IDE and driver are you using?

Re: PostgreSQL Connect

Posted: Wed 14 May 2014 14:03
by nelson.cardoso
The error occore in connection db (SQLConnection1.Open)

I'm using: PostgreSQL Version 9.3
Driver Devart 3.3.5 21-Feb-14
Delphi 7

Re: PostgreSQL Connect

Posted: Wed 14 May 2014 16:49
by nelson.cardoso
With pgAdmin I can connect without problem.

Client: ENCODING = 'LATIN1'
TABLESPACE = pg_default
LC_COLLATE = 'C'
LC_CTYPE = 'C'
CONNECTION LIMIT = -1;

Server: ENCODING = 'UTF8'
TABLESPACE = pg_default
LC_COLLATE = 'C'
LC_CTYPE = 'C'
CONNECTION LIMIT = -1;

Re: PostgreSQL Connect

Posted: Fri 16 May 2014 08:40
by AlexP
Please don't create similar topics, I have answered you in http://forums.devart.com/viewtopic.php?f=35&t=29595