简体   繁体   中英

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 :

在此处输入图片说明

Don't understand what is issue

You did not install PostgreSQL successfully, since you are missing important system tables.

Stop the server, delete the database directory and run initdb again to create a new, healthy database directory.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM