D. Berge c7f3f565cd Add database upgrade file 22.
This defines a replace_placeholders() function, taking as arguments
a text string and either a timestamp or a sequence / point pair. It
uses the latter arguments to find metadata from which it can extract
relevant information and replace it into the text string wherever the
appropriate placeholders appear. For instance, given a call such as
replace_placeholders('The position is @POS@', NULL, 11, 2600) it will
replace '@POS@' with the position of point 2600 in sequence 11, if it
exists (or leave the placeholder untouched otherwise).

A scan_placeholders() procedure is also defined, which calls the above
function on the entire event log.

Fixes #229.
2022-05-12 21:45:56 +02:00
2022-05-12 21:45:56 +02:00
2022-05-07 14:58:16 +02:00
2020-08-24 21:01:47 +02:00
2021-10-04 02:21:00 +02:00

Dougal Seismic production & data analysis tool

Structure of this repo

  • bin/ Scripts that import / export data into / out of the database.
  • etc/ Configuration files.
  • lib/ Code files.
    • lib/www/ Web interface and API.
      • lib/www/client/ Frontend.
      • lib/www/server/ Backend.
  • sbin/ System maintenance scripts.
Description
No description provided
Readme 11 MiB
Languages
Vue 41.7%
JavaScript 32.3%
PLpgSQL 16.5%
Python 5.4%
Nunjucks 3.2%
Other 0.9%