Skip to content
Select database postgres version
tasteless-sugar
OP

a year 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

a year 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.

3 Replies

smolpaw

a year 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.


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

a year ago

i did reply here mistakenly, sorry!


kevinlz45

a year ago

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


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...