Konstantin Stepanov > FusqlFS-0.009 > FusqlFS::Backend::PgSQL::Languages

Download:
FusqlFS-0.009.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

FusqlFS::Backend::PgSQL::Languages - FusqlFS class to interface with PostgreSQL languages

SYNOPSIS ^

    use FusqlFS::Backend::PgSQL::Languages;

    my $languages = FusqlFS::Backend::PgSQL::Languages->new();
    $languages->create('plperl');
    my $data = $languages->get('plperl');
    $data->{struct} =~ s/^trusted: 0$/trusted: 1/m;
    $languages->store('plperl', $data);

DESCRIPTION ^

This class is used by FusqlFS::Backend::PgSQL to represent languages subtree and not to be used by itself.

EXPOSED STRUCTURE ^

./handler, ./validator

Symlinks to functions in ../../functions set as handler and validator for the language.

./struct

Formatted info about language:

ispl

boolean true is it's a procedural language (true for all languages except for special internal handlers).

trusted

boolean true for trusted languages, i.e. languages usable by non-superusers.

./owner

Synlink to language owner role in ../../roles.

METHODS ^

new

Class constructor.

Output: $languages_instance.

get
list
drop
create
rename
store
syntax highlighting: