Posts Tagged ‘context’

Suppressing CONTEXT lines in psql

2008-07-12 14:40:56 CEST | No Comments | Tags: , , , ,

CONTEXT messages are quite informative, but when you don’t need them, they can be real pain in the eyes:

psql:trees.sql:68: NOTICE: Adding tree structures to table public.testit.
CONTEXT: SQL function "add_tree_structure" statement 1
psql:trees.sql:68: NOTICE: Tree table will be public.testit_tree.
CONTEXT: SQL function "add_tree_structure" statement 1
psql:trees.sql:68: NOTICE: Primary key in source table is: id
CONTEXT: SQL function "add_tree_structure" statement 1

I mean - I know the context. I’m writing the sql file right now, how to disable it?

- MORE -