show different databases in one postgres instace
sawaapp
HOBBYOP

2 months ago

so i know we can change the database name and push and pull form them and while isolating each db but in the view tab it only shows the "railway" database even when i added another db with the psql terminal or any other method

Solved

5 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


sam-a
EMPLOYEE

2 months ago

Hi,

The Railway dashboard's Data tab is designed to show only the primary database configured for the service, not all databases within the PostgreSQL instance. This is expected behavior. To view/manage other databases, you should continue using external tools like psql, pgAdmin, or other database clients. If you need separate visibility in the dashboard, you would need to deploy separate PostgreSQL instances for each database.

You can read more about using Postgres with Railway here: https://docs.railway.com/guides/postgresql

Let us know if you have further questions.

Kind regards,

Sam


Status changed to Awaiting User Response Railway 2 months ago


sawaapp
HOBBYOP

2 months ago

okay thank you
i made a feature request in case other people like me need it
https://station.railway.com/feedback/database-selector-on-the-view-data-tab-i-1cd1344a

but overall i LOVE what you've done keep up the amazing work


Status changed to Awaiting Railway Response Railway 2 months ago


sam-a

Hi,The Railway dashboard's Data tab is designed to show only the primary database configured for the service, not all databases within the PostgreSQL instance. This is expected behavior. To view/manage other databases, you should continue using external tools like psql, pgAdmin, or other database clients. If you need separate visibility in the dashboard, you would need to deploy separate PostgreSQL instances for each database.You can read more about using Postgres with Railway here: https://docs.railway.com/guides/postgresqlLet us know if you have further questions.Kind regards,Sam

sawaapp
HOBBYOP

2 months ago

so is there a way to specify the main/default db name instead of "railway" and have it only show this db

EDIT: i found i can change it from the variables tab, change the POSTGRES_DB variable and it will update


sam-a
EMPLOYEE

2 months ago

Glad you found it and glad you are enjoying Railway. We love making customers happy!

Thanks for adding the feature request.

Have a great night.

Sam


Status changed to Awaiting User Response Railway 2 months ago


Status changed to Solved sawaapp 2 months ago


Loading...