Search code examples
postgresqlpgadmin-4

Postgres ERROR: could not seek to end of file global/1262: Permission denied


I'm new to PostgreSQL.

I installed PostgreSQL 12 on the windows 10 desktop machine and trying to access it using pgAdmin 4.

I am successfully connecting to the database but when trying to open Schemas, frequently getting below error:

ERROR: could not seek to end of file global/1262: Permission denied

Refer :

enter image description here

Don't understand what is issue


Solution

  • I installed PostgreSQL successfully but there is a problem on the drive on which database directory installed. Changing the drive of my current database directory by following the below steps worked for me.

    https://wiki.postgresql.org/wiki/Change_the_default_PGDATA_directory_on_Windows