My postgres 8.2 is whining about "WARNING: nonstandard use of \ in a string literal at character NN" "HINT: Use the escape string syntax for backslashes, e.g., E'\'."
I think I have located the source of the warnings to be these lines in /usr/local/nav/doc/sql/navprofiles.sql (NAV 3.3.0)
INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/toolbox\b'); INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/index(.py)?/(index|login|logout|userinfo|passwd)\b'); INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/messages/(active|historic|planned|view|rss)\b'); INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/maintenance/(calendar|active|historic|planned|view)\b'); INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/vlanPlot\b'); INSERT INTO AccountGroupPrivilege (accountgroupid, privilegeid, target) VALUES (2, 2, '^/vPServer/servlet/vPServer\b');
Are the lines supposed to look like this?
--Ingeborg