mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Sending null to no value entry when no metadata available
This commit is contained in:
@@ -22,7 +22,7 @@ CREATE OR REPLACE VIEW api.vessels_view AS
|
|||||||
FROM api.metadata m
|
FROM api.metadata m
|
||||||
WHERE m.vessel_id = current_setting('vessel.id')
|
WHERE m.vessel_id = current_setting('vessel.id')
|
||||||
)::TEXT ,
|
)::TEXT ,
|
||||||
'Never'::TEXT ) as last_contact
|
''::TEXT ) as last_contact
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
v.name as name,
|
v.name as name,
|
||||||
|
Reference in New Issue
Block a user