1 Index: postgres/create_table.sql
2 ===================================================================
3 --- postgres/create_table.sql (revisjon 2229)
4 +++ postgres/create_table.sql (arbeidskopi)
21 lastupdate timestamptz,
23 Index: postgres/create_views.sql
24 ===================================================================
25 --- postgres/create_views.sql (revisjon 2229)
26 +++ postgres/create_views.sql (arbeidskopi)
31 +CREATE OR REPLACE VIEW evfiles AS
33 + SELECT 'gps' AS flag, date, coor, sted || ' (' || dist || ')' AS sted, ele::numeric(8,1), NULL AS descr, avst
36 + SELECT 'event' AS flag, date, coor, NULL, NULL, descr AS descr, NULL
39 + SELECT 'pic' AS flag, date, coor, filename, NULL, NULL, NULL
42 + SELECT 'file' AS flag, mtime, coor, filename, NULL, path, NULL
47 CREATE OR REPLACE VIEW wp AS