TL;DR
Create a backup:
pg_dumpall > mybackup.sql
Perform the upgrade:
sudo pg_dropcluster 9.4 main --stop
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
import Control.Applicative | |
import Control.Monad.IO.Class | |
import Data.Aeson |
TL;DR
Create a backup:
pg_dumpall > mybackup.sql
Perform the upgrade:
sudo pg_dropcluster 9.4 main --stop
############################################################################## | |
# | |
# General Settings | |
# | |
############################################################################## | |
OFFLINE=True | |
TRACK_DEPENDS=False | |
DATABASE_PASSWORD=admin | |
RABBIT_PASSWORD=admin |
(add-hook 'hack-local-variables-hook 'run-local-vars-mode-hook) | |
(defun run-local-vars-mode-hook () | |
"Run a hook for the major-mode after the local variables have been processed." | |
(run-hooks (intern (concat (symbol-name major-mode) "-local-vars-hook")))) | |
(defun detect_buffer_venv (buffer-name) | |
(let ((buffer-dir (file-name-directory buffer-name))) |