Bonjour,
Je rencontre un grand probléme dont je trouve pas la solution :
mon fichier
/var/lib/pgsql/data/postgresql.conf
contient :
#datestyle = 'iso, mdy'
#timezone = unknown # actually, defaults to TZ environment setting
#australian_timezones = false
#extra_float_digits = 0 # min -15, max 2
client_encoding = LATIN9
alors lorsque je fait une requete via l'api php-pgsql :
SELECT msgid,content,timecreated,soa FROM sms_mo WHERE (LOWER(content) LIKE 'club%') AND (da='87000') AND (timecreated > '2005-02-18 17:00:00') ORDER BY msgid ASC
ca me retourne cette erreur :
PANIQUE: ERRORDATA_STACK_SIZE exceeded server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
sachant que via phppgadmin ca ne retourne pas d'erreur et en modifiant le fichier postgresql.conf de cette facon :
#datestyle = 'iso, mdy'
#timezone = unknown # actually, defaults to TZ environment setting
#australian_timezones = false
#extra_float_digits = 0 # min -15, max 2
#client_encoding = LATIN9
la requete refonctionne correctement, sauf que c'est pas l'encodage dont j'ai besoin...
Partager