ltree_plpython failure test on Cygwin for 12.4 test

From: Marco Atzeri <marco(dot)atzeri(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: ltree_plpython failure test on Cygwin for 12.4 test
Date: 2020-08-12 18:31:06
Message-ID: 5925a723-e69d-ce4e-bf51-e8d620ba5f20@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am finally trying to move from python2.7 to python 3.x

for both 3.7 and 3.8 I have (attached log):

2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
ERROR: incompatible library "/pub/devel/postgresql/prov
a38/postgresql-12.4-1.x86_64/build/tmp_install/usr/lib/postgresql/plpython3.dll":
missing magic block
2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
HINT: Extension libraries are required to use the PG_MO
DULE_MAGIC macro.
2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
STATEMENT: CREATE EXTENSION ltree_plpython3u CASCADE;
2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
ERROR: language "plpython3u" does not exist
2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
HINT: Use CREATE EXTENSION to load the language into th
e database.
2020-08-12 18:35:47.433 CEST [10418] pg_regress/python3/ltree_plpython
STATEMENT: CREATE FUNCTION test1(val ltree) RETURNS int
LANGUAGE plpython3u
TRANSFORM FOR TYPE ltree
AS $$
plpy.info(repr(val))
return len(val)
$$;

Only the python tests fail

$ grep FAIL postgresql-12.4-1-check.log
test python3/hstore_plpython ... FAILED 423 ms
test python3/jsonb_plpython ... FAILED 172 ms
test python3/ltree_plpython ... FAILED 163 ms

never had problem with python2.7

Suggestion ?

Regards
Marco

Attachment Content-Type Size
postmaster.log text/plain 5.0 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2020-08-12 18:54:38 Re: Parallel query hangs after a smart shutdown is issued
Previous Message Alvaro Herrera 2020-08-12 18:02:18 Re: [BUG] Error in BRIN summarization