Login as root: :wq!
View More Adding postgres as SUDOERS in centosCategory: Postgres
Postgres
How to Configure SCRAM and MD5 Authentication in Pgpool-II
scram-sha-256 Authentication Configuration To perform the password-based authentication, Pgpool-II requires a password file which contains a list of database users and passwords in format username:password. The…
View More How to Configure SCRAM and MD5 Authentication in Pgpool-IISchema vs User (Role) in Postgres
In Postgres and Oracle schemas and users (roles) are different entities. When you create a user in Oracle it is a schema at the same…
View More Schema vs User (Role) in PostgresNon-Superuser kill own session in PostgreSQL
How to kill long running queries or IDLE queries of a user or another session of user itself. you can create one function and assign…
View More Non-Superuser kill own session in PostgreSQLPostgreSQL Replication Slots
Back in the days when “Replication Slots” were not yet introduced, managing the WAL segments were a challenge. In standard streaming replication, the master has…
View More PostgreSQL Replication SlotsVacuum problems solving
Why VACUUM?Whenever rows in a PostgreSQL table are updated or deleted, dead rows are left behind. VACUUM gets rid of them so that the space…
View More Vacuum problems solvingPostgreSQL 14 Streaming Replication (Sync / Async) on CentOS 7
Using High Availability is a requirement for companies all over the world. Streaming replication allows a standby server to stay more up-to-date than is possible…
View More PostgreSQL 14 Streaming Replication (Sync / Async) on CentOS 7Replication Slots in PostgreSQL ?
What are WAL Files? Write-Ahead Log (WAL) is a record of the changes made to the data. It ensures that when there is a crash…
View More Replication Slots in PostgreSQL ?Postgresql-14 Installation on Centos 7
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
View More Postgresql-14 Installation on Centos 7Integrate LDAP with local users in PostgreSQL
You want to allow LDAP users can use their passwords in login but you don’t want to create non-person accounts like application users in LDAP.…
View More Integrate LDAP with local users in PostgreSQL