BUG #1511: RPM install, PHP5 - Mailing list pgsql-bugs

From ZOUARI Fourat
Subject BUG #1511: RPM install, PHP5
Date
Msg-id 20050227191450.DA648F0AC6@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1511
Logged by:          ZOUARI Fourat
Email address:      fourat@gmail.com
PostgreSQL version: 8
Operating system:   Fedora Core 3
Description:        RPM install, PHP5
Details:

Hello,
When selecting (from php) using this select :

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

I get this error :
PANIQUE: ERRORDATA_STACK_SIZE exceeded server closed the connection
unexpectedly This probably means the server terminated abnormally before or
while processing the request.

when applying that select into phppgadmin interface there's no error.
but when commenting the line :
#client_encoding = LATIN9

in /var/lib/pgsql/data/postgresql.conf i will no longer have an
error... but got problems with charsets (i use frensh accents and arab
characters)

Here's what log contain :
here's what logs contain :
ATTENTION:  Laisse de côté les caractères UTF-8 inconvertibles 0xc389
ATTENTION:  Laisse de côté les caractères UTF-8 inconvertibles 0xf474e9
ATTENTION:  Laisse de côté les caractères UTF-8 inconvertibles 0xf474e9
ATTENTION:  Laisse de côté les caractères UTF-8 inconvertibles 0xf474e9
ATTENTION:  Laisse de côté les caractères UTF-8 inconvertibles 0xf474e9
PANIQUE:  ERRORDATA_STACK_SIZE exceeded
INSTRUCTION :  SELECT "MsgId" as msgid,"Content" as
content,"TimeCreated" as tc,"SOA" as oa FROM sms_mo WHERE
((LOWER("Content") LIKE 'club%')) AND (("DA"='87000'))  AND
("TimeCreated" > '2005-02-18 17:00:00') ORDER BY "MsgId" ASC;
TRACE:  processus serveur (PID 4359) a été arrêté par le signal 6
TRACE:  Arrêt des autres processus serveur actifs
TRACE:  Tous les processus serveur se sont arrêtés, réinitialisation
TRACE:  le système de bases de données a été interrompu à 2005-02-26
16:11:25 CET
TRACE:  l'enregistrement du point de vérification est à 0/7BF31E0
TRACE:  ré-exécution de l'enregistrement à 0/7BF31E0 ; l'annulation de
l'enregistrement est à 0/0 ; arrêt TRUE
TRACE:  prochain identifiant de transaction : 70998 ; prochain OID : 535489
TRACE:  le système de bases de données n'a pas été arrêté proprement
;
restauration automatique en cours
TRACE:  la ré-exécution commence à 0/7BF321C
TRACE:  enregistrement de longueur nulle sur 0/7C05940
TRACE:  ré-exécution faite à 0/7C05918
TRACE:  le système de bases de données est prêt

Here's what i have on my system :
postgresql-libs-8.0.0-1PGDG
postgresql-8.0.0-1PGDG
postgresql-devel-8.0.0-1PGDG
postgresql-server-8.0.0-1PGDG
PHP-5.0.2 with pgsql extension
and apache 2

pgsql-bugs by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: BUG #1502: hash_seq_search might return removed entry
Next
From: Hussein Patni
Date:
Subject: problem creating rtree index on timestamptz