ufal / perl-pmltq

Query engine and query language for trees in PML format
3 stars 2 forks source link

load command uses binary format instead of utf8 (when PDP::Pg >=3.6.0 is installed) #55

Closed matyaskopp closed 5 years ago

matyaskopp commented 5 years ago

Currently it is possible to load data with PDP::Pg <3.6.0 due to binary data COPY is implemented in newer versions: https://metacpan.org/diff/file?source=TURNSTEP/DBD-Pg-3.5.9_1&target=TURNSTEP/DBD-Pg-3.6.0

matyaskopp commented 5 years ago

fixed with 608adf48cd89e44b1404ceba1259a3a1a96c6c9d load process:

  1. load utf8 data from file
  2. decode data from utf8
  3. put binary data to database