Initiating
backup using pg_dump keeps on failing with error as below :
Sharing knowledge is the ultimate key to gaining knowledge..
The only two things that stay with you for life
are you & your knowledge !
Live while you can!
Teach & inspire while you could &
Smile while you have the teeth.. 😉
Wednesday, 25 March 2020
pg_dump: [archiver (db)] query was: LOCK TABLE
While performing
backup using pg_dump with database user fails with error as below :
pg_restore with -C option fails to create database. FATAL: database "nexaprod" does not exist
When you use
pg_restore you have various options available, for example :
-c to drop
database objects before recreating them,
-C to create
a database before restoring into it,
Thursday, 19 March 2020
initialise multiple postgres instance on same RHEL server
It
is pretty easy to install multiple instances of PostgreSQL servers on same
server and have its benefits.
Monday, 16 March 2020
Tuesday, 10 March 2020
How to stop starting of clusters while starting up services
Infra activities such as upgrade, OS patching
or Sevrer maintaince activity may require disabling the auto startup of
any specific cluster or if you want NOT
auto start on a call such as sudo service postgresql start