Little problem with perl5 interface

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Little problem with perl5 interface
Date: 1998-02-28 14:57:55
Message-ID: 34F825F3.327C997A@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have compiled the perl5 interface and installed it without problem.

A simple script that makes a connection to a database and read a table
works , read and print the informtion corectly but it generates the
following warnings right at the begining of script execution :

warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.

I am trying to use that script into a cgi-bin called from within a web
page but the first lines that must come out from the script execution
must be :

Content-type:text/html

and not that warnings ...

That's why my cgi-bin didn't worked and my web server reports :
Documents contain no data.

What do I have in order to fix that warning messages ?

Thanks in advance,
(please cc: me directly ,teo(at)flex(dot)ro )
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Constantin Teodorescu 1998-02-28 15:02:52 Re:Little problem with perl5 interface
Previous Message Bruce Momjian 1998-02-28 14:57:17 Re: [HACKERS] Coasting to 6.3 release