Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:database:postgresql [2020/12/30 22:22] kalenpw |
development:database:postgresql [2022/11/28 19:59] (current) kalenpw |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Postgres ====== | ====== Postgres ====== | ||
+ | |||
+ | ---- | ||
+ | ===== Installation ===== | ||
+ | <code bash> | ||
+ | # Linux | ||
+ | sudo apt install postgresql postgresql-contrib | ||
+ | |||
+ | # Mac | ||
+ | brew install postgresql | ||
+ | # Starting service | ||
+ | brew services start postgresql | ||
+ | </ | ||
---- | ---- | ||
Line 6: | Line 18: | ||
ALTER ROLE postgres WITH PASSWORD ' | ALTER ROLE postgres WITH PASSWORD ' | ||
</ | </ | ||
+ | ---- |