#
#
cd Downloads tar -xzvf postgresql-12.4.tar.gz vi src/include/pg_config_manual.h
#define NAMEDATALEN 512
./configure
make su make install
/usr/sbin/sysadminctl -addUser postgres mkdir /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su - postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
/usr/local/pgsql/bin/psql
CREATE USER (you)
/usr/local/pgsql/bin/psql -U postgres postgres
su vi /etc/paths
/usr/local/pgsql/bin
Books: