5 hours ago
Hi Railway Support,
I’m using PostgreSQL 18 on Railway and trying to access the Raw SQL Query editor.
I’ve checked the Database → Data interface on both mobile and desktop layouts. I can browse tables, but there is no SQL Query tab or Run/Execute button.
I found information suggesting the Raw SQL Query tab may require a feature flag, although your March 2026 announcement indicates raw SQL execution is generally available.
Could you confirm whether this feature needs to be enabled for my account and how to access it?
I need to run a read-only PostgreSQL permissions query before enabling production backups.
Thank you!
1 Reply
5 hours ago
The Database tab's Data view for Postgres lets you browse tables, open and edit rows, add columns, and create tables. The sources available to us don't confirm whether a raw SQL editor is turned on for your account, so we can't tell you how to access one from the dashboard.
To run your read-only permissions query now, you can use railway connect postgres from the CLI. It opens an interactive psql session against the database. If you'd rather use a GUI client such as TablePlus, DBeaver or pgAdmin, railway connect postgres --tunnel-only opens a local tunnel and prints the connection details. You need psql installed locally unless you use the tunnel-only option.
Status changed to Awaiting User Response Railway • about 5 hours ago