From 138db7450ed5b341a792ea0ccd1f5d5bdf12c11b Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 11 Jul 2018 14:23:47 -0400 Subject: [PATCH] add notes --- bash.md | 7 ++++++- pgbadger.md | 1 + postgres.md | 3 +++ postgres_features.md | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 pgbadger.md create mode 100644 postgres.md diff --git a/bash.md b/bash.md index 0127cbe..c23a7b3 100644 --- a/bash.md +++ b/bash.md @@ -20,4 +20,9 @@ Set PSQL defaults put .psqlrc in home directory \set x '\\setenv PAGER less' -\set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' \ No newline at end of file +\set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' + + +Size of directory: `du -hcs //mnt/c/PostgreSQL/cassandra30/` + +list lines in file `wc file` diff --git a/pgbadger.md b/pgbadger.md new file mode 100644 index 0000000..b339129 --- /dev/null +++ b/pgbadger.md @@ -0,0 +1 @@ +"C:\PostgreSQL\perl5\perl\bin\perl.exe" "C:\PostgreSQL\pgbadger\pgbadger" "C:\PostgreSQL\data\logs\pg10\postgresql-Mon.log" -o "C:\Users\ptrowbridge\Downloads\pgb.html" \ No newline at end of file diff --git a/postgres.md b/postgres.md new file mode 100644 index 0000000..4caf32c --- /dev/null +++ b/postgres.md @@ -0,0 +1,3 @@ +setup for single sign on with [SSPI](https://wiki.postgresql.org/wiki/Configuring_for_single_sign-on_using_SSPI_on_Windows) + +md5 hash is salted with username in front \ No newline at end of file diff --git a/postgres_features.md b/postgres_features.md index 7dffb91..0ea1ac3 100644 --- a/postgres_features.md +++ b/postgres_features.md @@ -27,4 +27,4 @@ Security LDAP & Active Directory [blog](https://www.openscg.com/2017/07/setting-up-ldap-with-active-directory-in-postgresql/) -Add SCRAM-SHA-256 support for password negotiation and storage (Michael Paquier, Heikki Linnakangas) \ No newline at end of file +Add SCRAM-SHA-256 support for password negotiation and storage (Michael Paquier, Heikki Linnakangas)