Taking example of the stored procedures developed for MySQL by Laurent Philippe from Ganil and/or the one developed by SNS for Oracle available at: ``` applications/plugins/org.csstudio.archive.reader.rdb/rdb_procs ``` we plan to develop Postgres stored procedures for optimized requests.