doc/development/postgresql_vfs.sql

Tue, 01 Feb 2022 17:47:50 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 01 Feb 2022 17:47:50 +0100
branch
webdav
changeset 281
e9dc53661df4
parent 278
38bf7b42b58c
child 283
25e5b771677d
permissions
-rw-r--r--

add pg vfs stat/fstat implementation


create table Resource (
    resource_id       serial    primary key,
    parent_id         int       references Resource(resource_id),
    nodename          text      not null,
    iscollection      boolean   not null default false,
	
    lastmodified      timestamp not null default current_date,
    creationdate      timestamp not null default current_date,
    contentlength     bigint    not null default 0,
    
    unique(parent_id, nodename)
);

mercurial