Skip to content

Instantly share code, notes, and snippets.


Patrick Reagan preagan

View GitHub Profile
preagan / gist:4eb04fc2243f7271de7ad4863ab2e1af
Created March 14, 2020 19:36
Postgresql OS-X upgrade from v10 to v12 using pg_dumpall
View gist:4eb04fc2243f7271de7ad4863ab2e1af
This is a copy from my notes, written to help me quickly accomplish the goal. Included also are short explanations and tests that help me transition back into postgres admin after coding something else.
- Note two aliases used below are in my ~/.bash_profile file...
1) alias ll='LC_COLLATE=C ls -alhlTF'
# showing .files (sorted first),
# permissions/sizes included, with special characters (after directory
# symlink, etc) names, long-format dates, and with human-readable file sizes.
2) alias path='echo -e ${PATH//:/\\n}'
# path: Echo all executable Paths