Select database postgres version
tasteless-sugar
HOBBYOP

6 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

6 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

6 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:17You 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.

kevinlz45
HOBBY

6 months ago

i did reply here mistakenly, sorry!


kevinlz45
HOBBY

6 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 7 months ago


Loading...