commit 456488bce44bbc3a397e19821a272ed4099aa941 from: Omar Polo date: Fri Feb 04 18:43:51 2022 UTC +psqlrc commit - ae217031cb27e4914fbca0508e74c1a7a57aaaeb commit + 456488bce44bbc3a397e19821a272ed4099aa941 blob - 840bc09fabe9389a97c862cc8467bc31cdcb80f8 blob + 479257b3a2f620ad1aa601f96b08d24437396610 --- gen +++ gen @@ -41,6 +41,7 @@ pair .profile profile.lp pair .kshrc kshrc.lp pair lib/profile rc.lp pair .sqliterc sqliterc.lp +pair .psqlrc psqlrc.lp conv index index.lp for file in $files; do blob - /dev/null blob + f1c785c379742644a32b744f6097d97f78d24463 (mode 644) --- /dev/null +++ psqlrc.lp @@ -0,0 +1,13 @@ +# psqlrc + +By default psql renders `NULL' values as empty strings. This makes it +harder to "see" if a column is `NULL' or an empty string, so I like to +have a different representation for NULLs + + \pset null '⊥' + +I also use to connect to databases on different hosts, so to be extra +sure that I'm connected to the right one I'd like for psql to dump the +connection info at the start + + \conninfo