如何在 PostgreSQL 中搜索变量名?

How to search for a variable name in PostgreSQL?

我想在“PostgreSQL”数据库中搜索特定的变量名。类似于以下“Teradata”查询

Select TableName, ColumnName from
DBC.Columns
Where ColumnName like (‘%profile%’)

PostgreSQL 中有类似的查询吗?

Postgres documentation

SELECT table_name,column_name
FROM information_schema.columns
WHERE column_name  like '%profile%'