Diagnose PostgreSQL table read access in Mainbase
Confirm the database object and check whether the connected read-only account can read its fields and rows.
Use this workflow when a PostgreSQL connection test succeeds and the virtual-table preview fails or comes back empty. The connection test checks the database session. Browsing lists tables and views by schema, and the preview reads the object you select. A table can appear in the list even when the connected account cannot read its rows.
Confirm the table or view you selected
- In Settings → Workspace → PostgreSQL, open More for the intended connection and select Create Virtual Table.
- In Select Schema, choose the schema that contains the source. Under Select Table, check Active schema and clear Search tables if it may be hiding the result. For example, a table called
inspectionsand a reporting view calledinspectionscan live in different schemas. - Choose the exact table or view. In Map Fields, look for the expected columns if this step loads. Open Preview Data and check whether it shows sample rows, a read error, or no preview data.
Ask the database administrator to check access
- The object is missing. Share the database, schema, and exact table or view name. Ask the administrator to confirm it exists on the database configured for this connection.
- The preview reports a read error or the fields are missing. Share the exact object name, the connected read-only account’s username, and the error text if shown. Ask the administrator to check that the account can use the schema and read the intended table or view.
- The preview has no rows. Ask the administrator to confirm that the connected account can see a known row. The source may be empty, or a database policy or view may limit which records that account can read.
After a correction, reopen Create Virtual Table, select the same schema and object, and check Preview Data again. Creating the table in Mainbase requires permission to manage the connection and update the workspace’s table structure. When the expected fields and sample rows appear, complete the virtual table setup.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?