Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency while subsequent pREST calls #343

shugydw opened this Issue Feb 10, 2019 · 0 comments


1 participant
Copy link

commented Feb 10, 2019


Calling pREST POST operation twice (inserting value in two different tables) throws an error on the second operation. It is totally random, as the operations succeed sometimes and fail sometimes.

The error is pq: database "users" does not exist".
Note: It exists

Also setting debug=true does not output any error for pREST logs.

  • pREST version (or commit ref): Docker:latest (v0.3.4)
  • pREST endpoint: POST http://prest/DATABASE/SCHEMA/TABLE with JSON data
  • PostgreSQL version: Docker:11.1-alpine
  • Operating system: Dockerized pREST
  • Go version: Dockerized pREST
  • Log gist: Insert succeeds for the first op but fails for second with no logs. Sometimes, both the inserts succeed

Thanks for any help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.