# pg_table_is_visible

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: pg_table_is_visible
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: sql/sql-functions/other-functions/pg-table-is-visible
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/sql-functions/other-functions/pg-table-is-visible.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/sql-functions/other-functions/pg-table-is-visible.adoc
description: The pg_table_is_visible() function checks whether a specified table or other database object is visible in the current schema search path.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-functions/other-functions/pg-table-is-visible.md -->

The [`pg_table_is_visible()`](https://www.postgresql.org/docs/current/functions-admin.html) is a schema visibility inquiry function that checks whether a specified table or other database object is visible in the current schema search path.

## [](#syntax)Syntax

```sql
pg_table_is_visible(table_or_index_oid)
```

## [](#parameters)Parameters

-   `table_or_index_oid`: Specifies the object identifier (OID) of a table or its name.


## [](#examples)Examples

```sql
SELECT pg_table_is_visible(-1);
 pg_table_is_visible
----------------------------
 f
```

```sql
SELECT pg_table_is_visible(16386);
 pg_table_is_visible
----------------------------
 t
```

```sql
SELECT pg_table_is_visible(16381);
 pg_table_is_visible
----------------------------
 f
```