R
Railway13mo ago
roberto

More than one database in a PostgreSQL service

Hi, I'm new to Railway and I've seen that I can easily create a Postgres service that is set up with a database called railway. When I populate that database with tables, I can even navigate through the data in the UI dashboard. I've connected to the Postgres instance and created a new database but I'm wondering if that could be a problem given that I can only see the railway database. If I change the variable of the db name, I get an error in the Data tab (see attached image). Is that expected? I can connect through psql. Finally, I've changed the posgres_db variable back to railway and now I'm getting the same error again. Thanks for your help.
No description
Solution:
theres nothing preventing anything really, the data tab is just simply unreliable, i always check whats in my database with a client like dbgate
Jump to solution
6 Replies
Percy
Percy13mo ago
Project ID: N/A
roberto
robertoOP13mo ago
N/A
Adam
Adam13mo ago
The data tab is not reliable, I trust what any other client says over it. If psql is showing the tables then it shouldn't be a problem.
roberto
robertoOP13mo ago
ok, so that's a known issue in the UI then? I mean, no one is going to mess around with my other databases and delete them, right? I'm wondering if there's some automatic process preventing users from creating other databases aside from the one named railway.
Solution
Brody
Brody13mo ago
theres nothing preventing anything really, the data tab is just simply unreliable, i always check whats in my database with a client like dbgate
roberto
robertoOP13mo ago
cool, good to know. Thanks for your help!
Want results from more Discord servers?
Add your server