GithubHelp home page GithubHelp logo

mathieubossaert / pl-pyodk Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 1002 KB

PL/python function to interact with ODK Central server from any PostgreSQL database

License: GNU General Public License v3.0

Shell 6.18% PLpgSQL 93.82%

pl-pyodk's People

Contributors

mathieubossaert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pl-pyodk's Issues

Allow the use of "form_id/draft" as form_id parameter in plpyodk.odk_central_to_pg

ERROR:  syntax error at or near "/"
LINE 1: DROP TABLE IF EXISTS odk_central.waypoint/draft;
                                                 ^
QUERY:  DROP TABLE IF EXISTS odk_central.waypoint/draft;
	CREATE TABLE IF NOT EXISTS odk_central.waypoint/draft AS
	SELECT key as tablename, (json_array_elements(value)) as json_data
	FROM json_each(plpyodk.get_complete_submissions_with_filter('3'::text, 'waypoint/draft'::text,''::text)::json)

CONTEXT:  PL/pgSQL function plpyodk.odk_central_to_pg(integer,text,text,text,text) line 3 at EXECUTE 

CREATE OR REPLACE PROCEDURAL LANGUAGE plpython3u;

I using postgresql and pgadmin4 on windows 10 local machine. When I execute the comand "CREATE OR REPLACE PROCEDURAL LANGUAGE plpython3u;", return error "ERROR: could not load library "C:/Program Files/PostgreSQL/14/lib/plpython3.dll": unknown error 126"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.