libname x2 postgres server="xxx" port=xx database="xxxx" schema="xxx"
user=xx password="xxx";
The log is as below:
DIAG: ERROR :invalid value for parameter "client_encoding":"lantin1".
I have sas/access to postgresql connect to postresql.I have two ways.I have sas base don't occur the error.
But i have eg ,The log is
invalid value for parameter "client_encoding":"lantin1".
It looks like your client_encoding parameter has been incorrectly set to "lantin1" (an extra "n"), instead of "latin1".
Amir.
It looks like your client_encoding parameter has been incorrectly set to "lantin1" (an extra "n"), instead of "latin1".
Amir.
If you are getting the same result as before, as you said (invalid value for parameter "client_encoding":"lantin1" with the extra "n") then that indicates another setting has to be changed.
Can you add the client_encoding= option to the libname statement as shown in the following link?
Amir.
To Change the Encoding, you can refer my article:
Try the below libname after change the Encoding
libname test postgres server="xxx.xx.xxx.xx" port=xxxx user=xxxxxxx password='xxxxxx' database=xxxx schema=xxxxx;
Can you change your SAS encoding into 'utf-8' ?
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.