Re: libpgtcl doesn't use UTF encoding of TCL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Reinhard Max <max(at)suse(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, elf(at)solvo(dot)ru, pgsql-bugs(at)postgresql(dot)org
Subject: Re: libpgtcl doesn't use UTF encoding of TCL
Date: 2001-09-05 16:52:37
Message-ID: 200109051652.f85Gqb120891@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-interfaces

> On Wed, 18 Jul 2001, Tom Lane wrote:
>
> > Reinhard Max <max(at)suse(dot)de> writes:
> > > On Wed, 18 Jul 2001, Bruce Momjian wrote:
> > >> Do you have any idea how this will work with earlier TCL versions?
> >
> > > It won't. If pgtcl is supposed to still be able to compile with older
> > > versions of Tcl, the changes have to be made a compile time option.
> >
> > Please do that and resubmit the patch.
>
> Here it is, but I consider it still incomplete and I have not done
> exhaustive testing. Some more occurrences of PQexec and PQgetvalue
> need to be wrapped up with UTF8 conversion, but I'll not have the time
> to do it for the next 1-2 weeks.
>
> cu
> Reinhard

I have a patch here that handles all the TCL/UTF issues. Would you let
me know if it is OK?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 7.3 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-09-05 16:56:20 Re: BUG(fixed) in CREATE TABLE ADD CONSTRAINT...
Previous Message Tatsuo Ishii 2001-09-05 04:08:35 Re: postgresql v7.1.3 bug report

Browse pgsql-hackers by date

  From Date Subject
Next Message Ludovic Pnet 2001-09-05 17:31:10 Trans-transactions cursors
Previous Message Tom Lane 2001-09-05 16:23:59 Re: Problems starting up postgres

Browse pgsql-interfaces by date

  From Date Subject
Next Message Reinhard Max 2001-09-06 09:43:12 Re: libpgtcl doesn't use UTF encoding of TCL
Previous Message Bruce Momjian 2001-09-04 23:15:20 Re: Query for Postgre