Update formating

This commit is contained in:
xbgmsharp
2024-01-16 14:12:13 +01:00
parent 000c5651e2
commit 3f51e89303
2 changed files with 2 additions and 2 deletions

View File

@@ -506,7 +506,7 @@ CREATE FUNCTION metrics_trigger_fn() RETURNS trigger AS $metrics$
WHERE id = stay_id; WHERE id = stay_id;
-- Add stay entry to process queue for further processing -- Add stay entry to process queue for further processing
INSERT INTO process_queue (channel, payload, stored, ref_id) INSERT INTO process_queue (channel, payload, stored, ref_id)
VALUES ('new_stay', stay_id, now(), current_setting('vessel.id', true)); VALUES ('new_stay', stay_id, NOW(), current_setting('vessel.id', true));
RAISE WARNING 'Metrics Updating Stay end current stay_id [%] [%] [%]', stay_id, NEW.status, NEW.time; RAISE WARNING 'Metrics Updating Stay end current stay_id [%] [%] [%]', stay_id, NEW.status, NEW.time;
ELSE ELSE
RAISE WARNING 'Metrics Invalid stay_id [%] [%]', stay_id, NEW.time; RAISE WARNING 'Metrics Invalid stay_id [%] [%]', stay_id, NEW.time;

View File

@@ -7,7 +7,7 @@
-- --
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
-- PostgRest Media Type Handlers -- PostgREST Media Type Handlers
CREATE DOMAIN "text/xml" AS xml; CREATE DOMAIN "text/xml" AS xml;
CREATE DOMAIN "application/geo+json" AS jsonb; CREATE DOMAIN "application/geo+json" AS jsonb;
CREATE DOMAIN "application/gpx+xml" AS xml; CREATE DOMAIN "application/gpx+xml" AS xml;