Skip to content

docs: add missing ::regclass cast error to troubleshooting - #16

Open
aditya3799 wants to merge 1 commit into
Evokoa:mainfrom
aditya3799:docs/regclass-troubleshooting
Open

docs: add missing ::regclass cast error to troubleshooting#16
aditya3799 wants to merge 1 commit into
Evokoa:mainfrom
aditya3799:docs/regclass-troubleshooting

Conversation

@aditya3799

@aditya3799 aditya3799 commented Aug 4, 2026

Copy link
Copy Markdown

What does this PR do?

Adds a new section to the Troubleshooting guide (troubleshooting.mdx) to address the function does not exist error that occurs when users omit the ::regclass cast during schema registration.

Why is this change needed?

When new users follow the manual schema registration examples (e.g., in the Quickstart), it's very common to accidentally pass table names as plain strings instead of OIDs. This results in the following Postgres error:

ERROR:  function graph.add_table(unknown, unknown) does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

Closes #17 

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