Select database postgres version
tasteless-sugar
HOBBYOP

10 months ago

So when create railway postgres db there is no option to select version,

I need version 17.4 of postgres, is there any workaround?

Solved$10 Bounty

Pinned Solution

smolpaw
HOBBY

10 months ago

Deploy a postgres db, by default it's going to be running v16.

Now go to deployments and remove the active deployment. Next go to the volume and wipe it.

Now go to settings and set the source image to this : ghcr.io/railwayapp-templates/postgres-ssl:17

You just need to change the 16 to 17. Go back to deployments and do deploy service.

I also use postgres v17 and here's how it should look.

Attachments

3 Replies

smolpaw
HOBBY

10 months ago

Deploy a postgres db, by default it's going to be running v16.

Now go to deployments and remove the active deployment. Next go to the volume and wipe it.

Now go to settings and set the source image to this : ghcr.io/railwayapp-templates/postgres-ssl:17

You just need to change the 16 to 17. Go back to deployments and do deploy service.

I also use postgres v17 and here's how it should look.

Attachments


smolpaw

Deploy a postgres db, by default it's going to be running v16. Now go to deployments and remove the active deployment. Next go to the volume and wipe it. Now go to settings and set the source image to this : `ghcr.io/railwayapp-templates/postgres-ssl:17` You just need to change the 16 to 17\. Go back to deployments and do deploy service. I also use postgres v17 and here's how it should look. ![](https://station-server.railway.com/attachments/att_01jzteaa17ecvbae9cap4x6kmb)

kevinlz45
HOBBY

10 months ago

i did reply here mistakenly, sorry!


kevinlz45
HOBBY

10 months ago

click the service, look for source, and paste the posgres version you need ghcr.io/railwayapp-templates/postgres:pg17.4-alpha

Attachments


Status changed to Solved brody 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...