Re: Changes to libpgtcl
От | Jan Wieck |
---|---|
Тема | Re: Changes to libpgtcl |
Дата | |
Msg-id | 200011271247.HAA06449@jupiter.jw.home обсуждение исходный текст |
Ответ на | Changes to libpgtcl (Jan Wieck <janwieck@Yahoo.com>) |
Список | 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@Yahoo.com #
В списке pgsql-hackers по дате отправления: