SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-DBD-PgLite rpm build for : OpenSuSE. For other distributions click perl-DBD-PgLite.

Name : perl-DBD-PgLite
Version : 0.11 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.8.1 Date : 2023-07-20 15:56:12
Group : Development/Libraries/Perl Source RPM : perl-DBD-PgLite-0.11-lp155.8.1.src.rpm
Size : 0.13 MB
Packager : https://www_suse_com/
Summary : PostgreSQL emulation mode for SQLite
Description :
The module automatically and transparently transforms a broad range of SQL
statements typical of PostgreSQL into a form suitable for use in SQLite.
This involves both (a) parsing and filtering of the SQL; and (b) the
addition of several PostgreSQL-compatible functions to SQLite.

Mainly because of datatype issues, support for many PostgreSQL features
simply cannot be provided without elaborate planning and detailed metadata.
Since this module is intended to be usable with any SQLite3 database, it
follows that the emulation is limited in several respects. An overview of
what works and what doesn\'t is given in the following section on PostgreSQL
Compatibility.

DBD::PgLite has support of a sort for stored procedures. This is described
in the Extras section below. So are the few database functions defined by
this module which are not in PostgreSQL. Finally, the Extras section
contains a brief mention of the DBD::PgLite::MirrorPgToSQLite companion
module.

If you do not want SQL filtering to be turned on by default for the entire
session, you can connect setting the connection attribute _FilterSQL_ to a
false value:

my $dbh = DBI->connect(\"dbi:PgLite:dbname=$fn\",
undef, undef, {FilterSQL=>0});

To turn filtering off (or on) for a single statement, you can specify
_FilterSQL_ option as a statement attribute, e.g.:

$dbh->do($sql, {FilterSQL=>0}, AATTbind);
my $sth = $dbh->prepare($sql, {FilterSQL=>0});
$res = $dbh->selectall_arrayref($sql, {FilterSQL=>0}, AATTbind);

It is possible to specify user-defined pre- and postfiltering routines,
both globally (by specifying them as attributes of the database handle) and
locally (by specifying them as statement attributes):

$dbh = DBI->connect(\"dbi:PgLite:$file\",undef,undef,
{prefilter=>\\&prefilter});
$res = $dbh->selectall_arrayref($sql,
{postfilter=>\\&postfilter},
AATTbind_values);

The pre-/postfiltering subroutine receives the SQL as parameter and is
expected to return the changed SQL.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-DBD-PgLite-0.11-lp155.8.1.noarch.rpm
     

Provides :
perl(DBD::PgLite)
perl(DBD::PgLite::Aggregate::avg)
perl(DBD::PgLite::Filter)
perl(DBD::PgLite::MirrorPgToSQLite)
perl(DBD::PgLite::db)
perl(DBD::PgLite::dr)
perl(DBD::PgLite::st)
perl-DBD-PgLite

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(DBD::SQLite) >= 1
perl(DBI) >= 1.3
perl(Text::Iconv) >= 1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/DBD
/usr/lib/perl5/vendor_perl/5.26.1/DBD/PgLite
/usr/lib/perl5/vendor_perl/5.26.1/DBD/PgLite.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/PgLite/MirrorPgToSQLite.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-DBD-PgLite
/usr/share/doc/packages/perl-DBD-PgLite/Changes
/usr/share/doc/packages/perl-DBD-PgLite/LICENSE
/usr/share/doc/packages/perl-DBD-PgLite/README
/usr/share/doc/packages/perl-DBD-PgLite/Todo
/usr/share/man/man3/DBD::PgLite.3pm.gz
/usr/share/man/man3/DBD::PgLite::MirrorPgToSQLite.3pm.gz

 
ICM