Postgresql 中文操作指南

37.3. information_schema_catalog_name #

information_schema_catalog_name 是一个始终包含一个行和一列的表格,其中包含当前数据库的名称(在 SQL 术语中为当前目录)。

information_schema_catalog_name is a table that always contains one row and one column containing the name of the current database (current catalog, in SQL terminology).

Table 37.1. information_schema_catalog_name Columns

Table 37.1. information_schema_catalog_name Columns

Column Type

Description

catalog_name sql_identifier

Name of the database that contains this information schema