Menu
Amazon Redshift
Database Developer Guide (API Version 2012-12-01)

PG_LIBRARY

Stores information about user-defined libraries.

PG_LIBRARY is visible to all users. Superusers can see all rows; regular users can see only their own data. For more information, see Visibility of Data in System Tables and Views.

Table Columns

Column Name Data Type Description
name name Library name.
language_oid oid Reserved for system use.
file_store_id integer Reserved for system use.
owner integer User ID of the library owner.

Example

The following example returns information for user-installed libraries.

Copy
select * from pg_library; name | language_oid | file_store_id | owner -----------+--------------+---------------+------ f_urlparse | 108254 | 2000 | 100