Re: Changes to libpgtcl

From: Jan Wieck <janwieck(at)Yahoo(dot)com>
To: Jan Wieck <janwieck(at)Yahoo(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Changes to libpgtcl
Date: 2000-11-27 12:47:32
Message-ID: 200011271247.HAA06449@jupiter.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck wrote:
> Hi,
>
> I'd like make some changes on the 7.1 (to be) libpgtcl.
>
> 1. Make the large object access null-byte safe, when
> libpgtcl is compiled against a 8.0 or higher version of
> Tcl.
>
> This would cause that a libpgtcl.so built on a system
> with Tcl 8.0 or higher will not any longer load into a
> pre 8.0 Tcl interpreter. Since Tcl's actual version is
> 8.3, I think it's long enough for backward compatibility.
>
> 2. Add a "pg_execute" command, that behaves almost like the
> "spi_exec" of PL/Tcl.
>
> Any objections?

O.K., the changes are committed. pg_lo_read and pg_lo_write
are now able to handle binary data (actually I'm hearing an
MP3 pumped by a Tcl script directly from the DB into xaudio
:-)

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2000-11-27 13:21:17 Re: Re: [GENERAL] Warning: Don't delete those /tmp/.PGSQL.* files
Previous Message Michael Ansley 2000-11-27 12:47:25 RE: [HACKERS] Indexing for geographic objects?