Skip to content

Commit c3d6149

Browse files
committed
Update PostgreSQL how to
1 parent ac3541e commit c3d6149

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

src/content/notes/cheatheet-postgresql.md renamed to src/content/notes/how-to-postgresql-locally.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
---
2-
title: "Cheatsheet: PostgreSQL"
2+
title: "How To: PostgreSQL (Locally)"
33
dateCreated: 2025-08-25
4-
dateUpdated: 2025-08-25
4+
dateUpdated: 2025-12-08
55
---
66

7-
This cheatsheet contains the steps I take to set up and interact with
8-
PostgreSQL, mainly when I'm developing something locally. It documents commands
9-
and flags that I use but forget when I haven't worked with PostgreSQL in a
10-
while. The commands below work on Arch Linux so they may need to be modified if
11-
you want to run them on a different system. They also assume that you're using
12-
the default host, localhost, and port, 5432.
7+
## Preamble
8+
9+
### Aims
10+
11+
To document steps, commands, and flags that I primarily do and use when setting
12+
up and interacting with PostgreSQL locally but forget when I haven't worked with
13+
it in a while.
14+
15+
### Assumptions
16+
17+
- Arch Linux (btw)
18+
- Use of the default host, localhost, and port, 5432.
19+
20+
### Caveat
1321

1422
You don't have to go through steps 1-6 every time. You likely only need to go
1523
through a subset of them depending on your use case:
@@ -164,3 +172,9 @@ through a subset of them depending on your use case:
164172
- <https://www.postgresql.org/docs/current/app-createuser.html>
165173
- <https://www.postgresql.org/docs/current/app-createdb.html>
166174
- <https://www.postgresql.org/docs/current/app-psql.html>
175+
176+
## Changelog
177+
178+
- December 08, 2025
179+
- Update title from "Cheatsheet: PostgreSQL" to "How To: PostgreSQL (Locally)"
180+
- Break down introductory paragraph into sections

0 commit comments

Comments
 (0)