Role parameter search_path incorrectly quoted - Mailing list pgadmin-support

From Bruce Peret
Subject Role parameter search_path incorrectly quoted
Date
Msg-id ac560072-3d5a-9ccb-28c9-da01ff17657c@pobox.com
Whole thread Raw
List pgadmin-support
I am new to this list, so I do not know if this has been reported
already (did not find anything regarding search_path in the issue tracker).

If you use pgadmin4 to alter the search_path for a role, all queries
that do not explicitly use a schema name with tables fail. Apparently,
pgadmin4 is treating a comma-separated list of schema names as a single
name, so, for example, "public, journal" is treated as a single schema
name of 'public, journal', not 'public' and 'journal'. One must manually
alter the role in SQL to correct it.

Bruce

Win 7/x64, postgres 9.6

Modify properties for a role.

Select Parameters tab.

Click +

Select search_path from list.

Enter comma-separated list for value.

Leave database blank.

Pgadmin4 generated SQL:

ALTER ROLE myrole   RESET search_path;

ALTER ROLE myrole   SET search_path TO 'public, journal';

(value should not be quoted)






pgadmin-support by date:

Previous
From: Oscar Fanelli
Date:
Subject: Re: Servers configs location?
Next
From: vnicolici
Date:
Subject: Re: pgAdmin 4 1.0-beta4 - Query Tool, Select file popup issues