Skip to content

issue with quotes and encrypted values #17

Description

@tchevallier

when using the proxy for pgsql protocol with simple encryption data operation
the query
INSERT INTO "tbl" ("name","address") VALUES ('CAROMB','CAMPING COMMUNAL');
is transformed into
INSERT INTO "tbl" (TVgZo6nAOf*YR4VzD4VFgw==_enc, Z20R5m5jYEeSdGiSekvAUw==_enc) VALUES ('9R3HoqGbM+i5rOryoNlTUA==', 'haINXTwvYwFgtk03bohWQFYuta7iUNumjGLBG/2gOZA=')

which raises an error in pgAdmin
ERROR: syntax error at or near *
LINE 1: INSERT INTO "tbl" (TVgZo6nAOf*YR4VzD4VFgw==_enc,

--> quotes were somewhat lost in the process

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions