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?


Jan

--

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



Wed, 22 Nov 2000 12:26:40 -0500 (EST)
Jan Wieck <janwieck@Yahoo.com>
Changes to libpgtcl
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@Yahoo.com #



Mon, 27 Nov 2000 07:47:32 -0500 (EST)
Jan Wieck <janwieck@Yahoo.com>
Re: Changes to libpgtcl