pg_sqlite_fs
SQLite File System creation
pg_sqlite_fs · SQLite File System creation
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101628 | pg_sqlite_fs | pg_sqlite_fs | 1.0 | UTIL | Unknown | C |
Usage
Sources:
pg_sqlite_fs — SQLite File System creation. Use it for the corresponding SQL or database utility workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
delete_attribute(filename text, inode bigint, name text)is an extension function and returnsboolean.delete_attributes(filename text, inode bigint)is an extension function and returnsboolean.delete_entry(text, bigint)is an extension function and returnsSETOF bigint.insert_attribute(filename text, inode bigint, name text, value text)is an extension function and returnsboolean.insert_entries(text, text)is an extension function and returnsboolean.insert_entry(text, bigint, text, bigint, ctime bigint DEFAULT 0, mtime bigint DEFAULT 0, nlink bigint DEFAULT 1, size bigint DEFAULT 0, is_dir boolean DEFAULT TRUE)is an extension function and returnsvoid.insert_file(filename text, inode bigint, mountpoint text, relative_path text, header bytea, payload_size bigint, prepend bytea, append bytea)is an extension function and returnsboolean.insert_files(text, text)is an extension function and returnsboolean.make(filepath text, umask integer default 0o007)is an extension function and returnsboolean.remove(text)is an extension function and returnsboolean.truncate_attributes(text)is an extension function and returnsboolean.truncate_entries(text)is an extension function and returnsboolean.truncate_files(text)is an extension function and returnsboolean.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.