Skip to content

docs: Manage databases guide audit fixes - #6933

Open
danieltprice wants to merge 1 commit into
mainfrom
docs/databases-guide-audit-fixes
Open

danieltprice wants to merge 1 commit into
mainfrom
docs/databases-guide-audit-fixes

Conversation

@danieltprice

Copy link
Copy Markdown
Collaborator
  • Clarified that the database owner runs the group role workaround steps.
  • Changed the Postgres documentation link label to use the Postgres name.

NEON PREVIEW

This pull request and its description were written by Isaac.

Co-authored-by: Isaac <no-reply@databricks.com>
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
neon-next Ready Ready Preview Nov 21, 2026 12:04pm UTC

Request Review

@danieltprice

Copy link
Copy Markdown
Collaborator Author

Live test results

Tested on a throwaway project. Console click paths were not verified; UI labels were checked against the Console source.

Step Result
Create database (CLI, with --project-id) Passed
Create database (API) Passed
List databases (CLI, default branch) Passed
List databases (API) Passed
Rename and change owner (API) Passed
CLI has no update command Passed
Delete database (CLI and API) Passed
Roles remain after a database is deleted Passed
Reserved names (postgres, template0, template1) rejected Passed
Names over 63 bytes rejected Passed
neon_superuser gets CREATE on API-created databases, not SQL-created ones Passed
Non-owner can't create objects in public Passed
TABLESPACE rejected Passed
CREATE DATABASE and ALTER DATABASE ... RENAME (SQL) Passed
Rename while connected to the target database fails Passed
Child branch copies parent databases Passed
Group role ownership workaround and REASSIGN OWNED Passed (after fix)
Dropping a database with SQL Not run
500 databases per branch limit Not testable

Console click paths are static. The CLI examples omit --project-id. With an account that has several organizations, the CLI asks for it.

Doc errors

  • The group role step said "or another role that can create roles." Only the database owner can grant schema privileges, so the step now says "Connect as the owner of the database."

This branch was successfully deployed

1 active deployment
Preview – neon-next — c5b3a49a Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant