| 1 |
Source: libpgobject-util-pseudocsv-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Robert James Clay <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: perl |
| 8 |
Standards-Version: 4.2.1 |
| 9 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libpgobject-util-pseudocsv-perl |
| 10 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libpgobject-util-pseudocsv-perl.git |
| 11 |
Homepage: https://metacpan.org/release/PGObject-Util-PseudoCSV |
| 12 |
Testsuite: autopkgtest-pkg-perl |
| 13 |
|
| 14 |
Package: libpgobject-util-pseudocsv-perl |
| 15 |
Architecture: all |
| 16 |
Depends: ${misc:Depends}, ${perl:Depends} |
| 17 |
Multi-Arch: foreign |
| 18 |
Description: PostgreSQL text representations parser |
| 19 |
PostgreSQL can represent tuples and arrays in a text format that is almost |
| 20 |
like CSV. Unfortunately this format has a number of gotchas which render |
| 21 |
existing CSV-parsers useless. PGObject::Util::PseudoCSV provides basic |
| 22 |
parsing functions to other programs for db interface purposes. With this |
| 23 |
module you can both parse pseudocsv representations of tuples and arrays and |
| 24 |
you can create them from a list. |
| 25 |
. |
| 26 |
The API's here assume you send one (and only one) pseudo-csv record to the |
| 27 |
API at once. These may be nested, so a single tuple can contain arrays of |
| 28 |
tuples which can contain arrays of tuples ad infinitum but the parsing only |
| 29 |
goes one layer deep tuple-wise so that handling classes have an opportunity to |
| 30 |
re-parse with appropriate type information. Naturally this has performance |
| 31 |
implications, so depth in SQL structures passed should be reasonably limited. |