pgweb
pgweb copied to clipboard
Identifier quoting is incorrect
Identifier quoting is incorrect and fails sometimes. Steps to reproduce:
- run psql
- do the following commands in the psql
postgres=# create table "bad ""table" (id int);
CREATE TABLE
postgres=# insert into "bad ""table" (id) values (1);
INSERT 0 1
- run pgweb
- try to view data in the "bad ""table"
- see the error message instead of a data
This discussion seem to be relevant: https://github.com/golang/go/issues/18478