the error is
ERROR: Cannot transform anything else than mappings andsequences to rows
CONTEXT: SQL statement "UPDATE articles_es SET
title = NEW.title,
content = NEW.content
WHERE id = NEW.id"
PL/pgSQL function reindex_article() line 3 at SQL statement
anyone can help me ? thank you
the error is ERROR: Cannot transform anything else than mappings andsequences to rows CONTEXT: SQL statement "UPDATE articles_es SET title = NEW.title, content = NEW.content WHERE id = NEW.id" PL/pgSQL function reindex_article() line 3 at SQL statement anyone can help me ? thank you
I found the reason is python.c
my python version is Python 2.7.6
I refer website url is https://yq.aliyun.com/articles/56824 https://github.com/Mikulas/pg-es-fdw