Skip to content

Commit f1bda22

Browse files
committed
fix: correct typo and apply binary units standards
- Fix typo: lightweight (was leightweight) in l1 - Use GiB instead of GB in memory prompt per binary units rule
1 parent 893bf69 commit f1bda22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sql/l1_lock_trees.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Lock trees (leightweight)
1+
--Lock trees (lightweight)
22

33
-- Source: https://github.com/dataegret/pg-utils/blob/master/sql/locktree.sql
44
-- The paths won't be precise but this query is very light and may be used quite frequently

sql/t1_tuning.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ select :postgres_dba_t1_location = 3 as postgres_dba_t1_location_rds \gset
4242

4343
\echo
4444
\echo
45-
\echo 'Type total available memory (in GB): '
45+
\echo 'Type total available memory (in GiB): '
4646
\prompt postgres_dba_t1_memory
4747

4848
\echo

start.psql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
\echo ' i3 – FKs with missing/bad indexes'
1717
\echo ' i4 – Invalid indexes'
1818
\echo ' i5 – Cleanup unused and redundant indexes – do & undo migration DDL'
19-
\echo ' l1 – Lock trees (leightweight)'
19+
\echo ' l1 – Lock trees (lightweight)'
2020
\echo ' l2 – Lock trees, detailed (based on pg_blocking_pids())'
2121
\echo ' p1 – [EXP] Alignment padding: how many bytes can be saved if columns are reordered?'
2222
\echo ' r1 – Create user with random password (interactive)'

0 commit comments

Comments
 (0)