pgsql/src bin/scripts/createlang.sh pl/plperl/ ...

pgsql/src bin/scripts/createlang.sh pl/plperl/ ...

Post by Bruce Momjian - C » Wed, 20 Jun 2001 07:07:00



CVSROOT:        /home/projects/pgsql/cvsroot
Module name:    pgsql

Modified files:
        src/bin/scripts: createlang.sh
        src/pl/plperl  : Makefile.PL plperl.c

Log message:
        Well, after persuading cvsup and cvs that it _is_ possible to have local
        modifiable repositories, I have a clean untrusted plperl patch to offer
        you :)

        Highlights:
        * There's one perl interpreter used for both trusted and untrusted
        procedures. I do think its unnecessary to keep two perl
        interpreters around. If someone can break out from trusted "Safe" perl
        mode, well, they can do what they want already. If someone disagrees, I
        can change this.

        * Opcode is not statically loaded anymore. Instead, we load Dynaloader,
        which then can grab Opcode (and anything else you can 'use') on its own.

        * Checked to work on FreeBSD 4.3 + perl 5.5.3 , OpenBSD 2.8 + perl5.6.1,
        RedHat 6.2 + perl 5.5.3

        * Uses ExtUtils::Embed to find what options are necessary to link with
        perl shared libraries

        * createlang is also updated, it can create untrusted perl using 'plperlu'

        * Example script (assuming you have Mail::Sendmail installed):
        create function foo() returns text as '
        use Mail::Sendmail;



        Message => "This is a very short message"
        );
        sendmail(%mail) or die $Mail::Sendmail::error;
        return          "OK. Log says:\n", $Mail::Sendmail::log;
        ' language 'plperlu';

        Alex Pilosov

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command

 
 
 

1. pgsql/src bin/scripts/createlang.sh bin/script ...

CVSROOT:        /home/projects/pgsql/cvsroot
Module name:    pgsql

Modified files:
        src/bin/scripts: createlang.sh droplang
        src/pl         : Makefile
        src/pl/plpython: Makefile plpython.c plpython.h test.sh
Removed files:
        src/pl/plpython: error.diff error.output feature.diff
                         feature.output linux.h plpython_create.sql
                         test.log update.sh

Log message:
        PL/Python integration:  support in create/droplang, add CVS keywords,
        remove useless files, beat some sense into Makefile.  For me it builds
        and sort of runs, so it's a start.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly

2. Losing performance after upgrade from 6.5 to 7.0

3. pgsql/src/bin/scripts (createdb createlang.sh createuser dropdb droplang dropuser vacuumdb)

4. Giving Access to SP's

5. pgsql/src/bin/scripts createdb createlang.sh c ...

6. <<<<<INGRES FAQ?????>>>>>>

7. pgsql/src/bin/scripts (createlang.sh)

8. pgsql/src/bin/scripts (createdb createlang.sh createuser dropdb droplang dropuser vacuumdb)

9. pgsql/src/bin/scripts Makefile createlang.sh

10. pgsql/src/bin/scripts createlang.sh