Skip to content

Commit d0d0471

Browse files
authored
README.md
Add about OS permissions
1 parent c56c816 commit d0d0471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Usage
131131

132132
There is no user or password conceptions in SQlite, hence `sqlite_fdw` no need any `CREATE USER MAPPING` command.
133133

134-
Just ensure `postgres` OS user have permissions for reading or writing on SQLite database file. There is no other access problem than OS access permissions to SQLite database file.
134+
Just ensure `postgres` OS user have permissions for reading on SQLite database file or also for writing on **both** database file and directory near this file. There is no other access problem than OS access permissions to SQLite database file and write permissoins for directory of this file. For `INSERT`, `UPDATE`, `DELETE` and other changes in SQLite database from PostgreSQL ensure not only SQLite databse file permissions, but **also writing permissons of directory of SQLite database** file for `postgres` OS user. Otherwise error `failed to execute remote SQL: rc=8 attempt to write a readonly database` occurs. During data change transactions SQLite create some temporary files in direcory near SQLite database file.
135135

136136

137137
## CREATE FOREIGN TABLE options

0 commit comments

Comments
 (0)