sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

Syntax error when trying to export data (json, csv, xml) #203

Closed kblomqvist closed 7 years ago

kblomqvist commented 7 years ago

In SQL Query tab whenever I press JSON, CSV or XML, I'll get error

{"error":"pq: syntax error at or near \"U0VMRUNUICogRlJPTSB3ZWF0aGVyOw\""}

It doesn't matter whether I have made a query, e.g. SELECT * FROM foo.

sosedoff commented 7 years ago

It should be already fixed in #186 and available in master. Try that. New pgweb version (with fixes) is not released yet.

kblomqvist commented 7 years ago

Updated to the latest release. Works fine now.