Skip to content
Snippets Groups Projects
Commit 2657901c authored by vscherbo's avatar vscherbo
Browse files

example in comment improved

parent 03579e20
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@ CREATE TABLE arc_energo.arc_pc (
);
COMMENT ON TABLE arc_energo.arc_pc IS 'ПК, на которых запущена база
INSERT INTO arc_pc
(ip, dt_start, pc_name, user_id)
VALUES(''192.168.1.101'', now(), ''scherbova'', -1)
(ip, pc_name, user_id)
VALUES(inet_client_addr(), <Windows environment COMPUTERNAME>, <"Сотрудники"."Номер">)
ON CONFLICT (ip) DO UPDATE SET pc_name = excluded.pc_name, user_id = excluded.user_id;';
-- Permissions
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment