Downgrading PostgreSQL 10 to 9.4Postgresql 9.4 high availabilityHow to upgrade PostgreSQL from version 8.4 to...
Could a warlock use the One with Shadows warlock invocation to turn invisible, and then move while staying invisible?
Will rerolling initiative each round stop meta-gaming about initiative?
Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?
Why is one not obligated to give up his life rather than violate Lashon Hara?
Categorical Unification of Jordan Holder Theorems
What senses are available to a corpse subjected to a Speak with Dead spell?
Is Screenshot Time-tracking Common?
Stuck on a Geometry Puzzle
What to do with threats of blacklisting?
What's this assembly doing?
What is the difference between "...", '...', $'...', and $"..." quotes?
Cat is tipping over bed-side lamps during the night
Why did Luke use his left hand to shoot?
Potential client has a problematic employee I can't work with
"Starve to death" Vs. "Starve to the point of death"
Custom shape shows unwanted extra line
Why is the "Domain users" group missing from this Powershell AD Query?
A fantasy book with seven white haired women on the cover
What is the wife of a henpecked husband called?
How does Leonard in "Memento" remember reading and writing?
Coworker asking me to not bring cakes due to self control issue. What should I do?
Are the positive and negative planes inner or outer planes in the Great Wheel cosmology model?
Does a paladin have to announce that they're using Divine Smite before attacking?
Can a player sacrifice a creature after declaring that creature as blocker while taking lethal damage?
Downgrading PostgreSQL 10 to 9.4
Postgresql 9.4 high availabilityHow to upgrade PostgreSQL from version 8.4 to 9.4?WAL Streaming Failure PostgreSQL 9.4RHEL Postgresql 9.4 and PostGISUpgrade PostgreSQL 9.4 to 9.5 : LC_ALL unsetPostgresql 9.4 replication not workingTesting postgresql 9.4 streaming replicationTrying to upgrade PostgreSQL 9.1 to 9.4 on DebianPostgreSQL 9.4 deep merge jsonb valuesPostgreSQL extremely slow after upgrade from 9.3 to 9.4
Are there any particular precautions I should take when downgrading PG 10 to 9.4?
I have a database on Heroku (PG 9.4) which I'm going to upgrade to PG 10.6. In case something goes wrong, I want to be able to go back to 9.4.
Things I already tested:
- create a backup of the already upgraded PG 10.6 DB (Heroku creates binary compressed dumps)
- create a new PG 9.4 DB
- upload the backup from step 1. to DB from step 2
The backup seems to be restored properly. What should focus on in particular to be sure this procedure is all right? Are there any other ways to downgrad PostgreSQL?
postgresql postgresql-9.4 upgrade postgresql-10 downgrade
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Are there any particular precautions I should take when downgrading PG 10 to 9.4?
I have a database on Heroku (PG 9.4) which I'm going to upgrade to PG 10.6. In case something goes wrong, I want to be able to go back to 9.4.
Things I already tested:
- create a backup of the already upgraded PG 10.6 DB (Heroku creates binary compressed dumps)
- create a new PG 9.4 DB
- upload the backup from step 1. to DB from step 2
The backup seems to be restored properly. What should focus on in particular to be sure this procedure is all right? Are there any other ways to downgrad PostgreSQL?
postgresql postgresql-9.4 upgrade postgresql-10 downgrade
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43
add a comment |
Are there any particular precautions I should take when downgrading PG 10 to 9.4?
I have a database on Heroku (PG 9.4) which I'm going to upgrade to PG 10.6. In case something goes wrong, I want to be able to go back to 9.4.
Things I already tested:
- create a backup of the already upgraded PG 10.6 DB (Heroku creates binary compressed dumps)
- create a new PG 9.4 DB
- upload the backup from step 1. to DB from step 2
The backup seems to be restored properly. What should focus on in particular to be sure this procedure is all right? Are there any other ways to downgrad PostgreSQL?
postgresql postgresql-9.4 upgrade postgresql-10 downgrade
Are there any particular precautions I should take when downgrading PG 10 to 9.4?
I have a database on Heroku (PG 9.4) which I'm going to upgrade to PG 10.6. In case something goes wrong, I want to be able to go back to 9.4.
Things I already tested:
- create a backup of the already upgraded PG 10.6 DB (Heroku creates binary compressed dumps)
- create a new PG 9.4 DB
- upload the backup from step 1. to DB from step 2
The backup seems to be restored properly. What should focus on in particular to be sure this procedure is all right? Are there any other ways to downgrad PostgreSQL?
postgresql postgresql-9.4 upgrade postgresql-10 downgrade
postgresql postgresql-9.4 upgrade postgresql-10 downgrade
asked Dec 14 '18 at 11:46
pmichnapmichna
1305
1305
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43
add a comment |
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43
add a comment |
1 Answer
1
active
oldest
votes
First, keep in mind Heroku may be based on Postgres, it's not Postgres. It's a closed source database and you have no idea what they changed.
The only way to do so would be to export all your data in SQL and to import it back to Postgres (using psql
). If you only have access to binary compressed dump from Heroku, you may suppose they're using custom format from pg_dump
(I haven't find any documentation about it) and so you'll need pg_restore
to either transform it to SQL or to import it to your Postgres database.
Cheers,
Arkhena
PS : I'm curious, why downgrading it to 9.4 instead of importing it to a postgres 10 or 11 database ?
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f224991%2fdowngrading-postgresql-10-to-9-4%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First, keep in mind Heroku may be based on Postgres, it's not Postgres. It's a closed source database and you have no idea what they changed.
The only way to do so would be to export all your data in SQL and to import it back to Postgres (using psql
). If you only have access to binary compressed dump from Heroku, you may suppose they're using custom format from pg_dump
(I haven't find any documentation about it) and so you'll need pg_restore
to either transform it to SQL or to import it to your Postgres database.
Cheers,
Arkhena
PS : I'm curious, why downgrading it to 9.4 instead of importing it to a postgres 10 or 11 database ?
add a comment |
First, keep in mind Heroku may be based on Postgres, it's not Postgres. It's a closed source database and you have no idea what they changed.
The only way to do so would be to export all your data in SQL and to import it back to Postgres (using psql
). If you only have access to binary compressed dump from Heroku, you may suppose they're using custom format from pg_dump
(I haven't find any documentation about it) and so you'll need pg_restore
to either transform it to SQL or to import it to your Postgres database.
Cheers,
Arkhena
PS : I'm curious, why downgrading it to 9.4 instead of importing it to a postgres 10 or 11 database ?
add a comment |
First, keep in mind Heroku may be based on Postgres, it's not Postgres. It's a closed source database and you have no idea what they changed.
The only way to do so would be to export all your data in SQL and to import it back to Postgres (using psql
). If you only have access to binary compressed dump from Heroku, you may suppose they're using custom format from pg_dump
(I haven't find any documentation about it) and so you'll need pg_restore
to either transform it to SQL or to import it to your Postgres database.
Cheers,
Arkhena
PS : I'm curious, why downgrading it to 9.4 instead of importing it to a postgres 10 or 11 database ?
First, keep in mind Heroku may be based on Postgres, it's not Postgres. It's a closed source database and you have no idea what they changed.
The only way to do so would be to export all your data in SQL and to import it back to Postgres (using psql
). If you only have access to binary compressed dump from Heroku, you may suppose they're using custom format from pg_dump
(I haven't find any documentation about it) and so you'll need pg_restore
to either transform it to SQL or to import it to your Postgres database.
Cheers,
Arkhena
PS : I'm curious, why downgrading it to 9.4 instead of importing it to a postgres 10 or 11 database ?
answered Dec 18 '18 at 9:46
ArkhenaArkhena
85918
85918
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f224991%2fdowngrading-postgresql-10-to-9-4%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can’t you create a new db and import the data and keep the old one around to make your first tests before you do the switchover? (I always think this is a great advantage of cloud services to have that kind of short term capacity)
– eckes
Dec 19 '18 at 0:43