Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libpgobject-util-pseudocsv-perl
nabia  ] [  aramo  ]

Paket: libpgobject-util-pseudocsv-perl (2-1)

PostgreSQL text representations parser

PostgreSQL can represent tuples and arrays in a text format that is almost like CSV. Unfortunately this format has a number of gotchas which render existing CSV-parsers useless. PGObject::Util::PseudoCSV provides basic parsing functions to other programs for db interface purposes. With this module you can both parse pseudocsv representations of tuples and arrays and you can create them from a list.

The API's here assume you send one (and only one) pseudo-csv record to the API at once. These may be nested, so a single tuple can contain arrays of tuples which can contain arrays of tuples ad infinitum but the parsing only goes one layer deep tuple-wise so that handling classes have an opportunity to re-parse with appropriate type information. Naturally this has performance implications, so depth in SQL structures passed should be reasonably limited.

Andere Pakete mit Bezug zu libpgobject-util-pseudocsv-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libpgobject-util-pseudocsv-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 9,4 kB27 kB [Liste der Dateien]