Types beginning with underscores are not shown in treeview

Поиск
Список
Период
Сортировка
Искать

Types beginning with underscores are not shown in treeview

От:
Evan Martin <postgresql@realityexists.net>
Дата:
 Hello,

The Types list in the pgAdmin treeview doesn't seem to include user types whose names begin with underscores. Eg. if I run

    CREATE TYPE my_type1 AS (val integer);
    CREATE TYPE _my_type2 AS (val integer);

my_type1 is shown, but _my_type2 is not. (I even tried enabling "Show System Objects in treeview" just in case.)

Tested this both on 1.18.1 in Windows and latest git revision on Linux.

Perhaps this is related to PostgreSQL officially disallowing user-defined types beginning with underscores a long time ago, but they're definitely allowed now.

Regards,

Evan
FAQ