How to find the error log location in PostgreSQL on Windows or Linux environments

In this article, we will see How to find the error log location in PostgreSQL on Windows or Linux environments.

We can get the error log location by running the command log_directory command in psql shell. Continue reading How to find the error log location in PostgreSQL on Windows or Linux environments

AWS RDS connect to PgAdmin Error saving properties Unable to connect to server: timeout expired

In this article, we will see the solution for AWS RDS PostgreSQL connectivity from pgadmin.

Error saving properties Unable to connect to server: timeout expired

AWS RDS connect to PgAdmin Error saving properties Unable to connect to server: timeout expired
Continue reading AWS RDS connect to PgAdmin Error saving properties Unable to connect to server: timeout expired

PostgreSQL Error: database is being accessed by other users

In this article, we will the solution for PostgreSQL Error: database is being accessed by other users
Detail: There are 2 other sessions using the database

ERROR  database  is being accessed by other users
Continue reading PostgreSQL Error: database is being accessed by other users

PostgreSQL ERROR: syntax error at or near “VARCHAR”

In this article, we will see the solution for ERROR: syntax error at or near “VARCHAR”.

PostgreSQL ERROR: syntax error at or near "VARCHAR"

Reolution: Continue reading PostgreSQL ERROR: syntax error at or near “VARCHAR”

PostgreSQL ERROR: could not open extension control file

In this article, we will see the cause and solution for “PostgreSQL ERROR: could not open extension control file”.

PostgreSQL ERROR could not open extension control file

Continue reading PostgreSQL ERROR: could not open extension control file

ERROR: permission denied for table ‘table_name’ in PostgreSQL

In this article, we will see solution for “ERROR: permission denied for table ‘table_name’ in PostgreSQL”

ERROR permission denied for table table_name in PostgreSQL

Reason: User doent have permissions to access that particular table or relation or view.
Continue reading ERROR: permission denied for table ‘table_name’ in PostgreSQL

PostgreSQL Error: cannot execute in a read-only transaction

In this article, we will see the solution for error like PostgreSQL Error: cannot execute in a read-only transaction.

ERROR: cannot execute CREATE DATABASE in a read-only transaction Error: cannot execute DROP DATABASE in a read-only transaction ERROR: cannot execute CREATE TABLE in a read-only transaction Error: cannot execute DROP TABLE in a read-only transaction cannot execute INSERT in a read-only transaction

PostgreSQL Error cannot execute in a read-only transaction


Reason:
Continue reading PostgreSQL Error: cannot execute in a read-only transaction

psql: error: FATAL: role is not permitted to log in

I have received following error when trying to connect to PostgreSQL server.

psql: error: FATAL: role is not permitted to log in

psql error FATAL role is not permitted to log in
Continue reading psql: error: FATAL: role is not permitted to log in

PostgreSQL ERROR: role cannot be dropped because some objects depend on it

We are going to see the solution for “PostgreSQL ERROR: role cannot be dropped because some objects depend on it”

ERROR: role "james" cannot be dropped because some objects depend on it DETAIL: owner of database emp 6 objects in database r2schools 1 object in database postgres 3 objects in database newdb 3 objects in database emp

PostgreSQL ERROR:  role cannot be dropped because some objects depend on it

Solution:
Continue reading PostgreSQL ERROR: role cannot be dropped because some objects depend on it