Access FAQ
Section titled “Access FAQ”Can I use my existing SQL client?
Section titled “Can I use my existing SQL client?”Yes. Each session provides a temporary PostgreSQL connection URL that works with psql, GUI clients, scripts, and AI agents. See the quickstart.
What does Access record?
Section titled “What does Access record?”Access records SQL queries and connection events from sessions that connect through the Access proxy. Select a session in the project's Access view to review its events and recorded queries. See recorded sessions.
How long does a session last?
Section titled “How long does a session last?”Sessions last up to one hour. You can specify a duration when starting a session and extend an active session, with no more than one hour remaining. Expired or revoked sessions cannot be extended. See duration and extensions.
Does revoking a session close its connections?
Section titled “Does revoking a session close its connections?”Yes. Revocation prevents further use of the credentials, and existing connections close within one minute. Logging out of the CLI does not revoke sessions. See revoking a session.
Are sessions read-only?
Section titled “Are sessions read-only?”The upstream PostgreSQL user determines database permissions. The optional --read-only flag adds a guard against accidental writes for every connection using the session URL. You can also configure a read-only upstream user.
Can Access connect through an SSH tunnel?
Section titled “Can Access connect through an SSH tunnel?”Yes. SSH tunneling is supported out of the box. Contact us for connections from static IPs, VPN, AWS Systems Manager (SSM), or other setups.
Can AI agents use Access?
Section titled “Can AI agents use Access?”Yes. Give the AI agent the ready-to-use prompt to start a temporary session and connect to your database. The prompt covers read-only access, a short session duration, and revocation when the task is complete. You can review the agent's SQL events in PgStack.
Do I need Audit to use Access?
Section titled “Do I need Audit to use Access?”No. Access and Audit can be used independently. Access records SQL queries and connection events during temporary sessions. Audit captures row-level inserts, updates, and deletes with before-and-after values.
Copyright © 2026 PgStack
