Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

psql: how to turn off context messages at raise notice

$
0
0

If I use raise notice, I get context messages at each execution. Can I turn them
off and just get the NOTICE?

NOTICE:  d = [2,1] ,tn: (1,2,"{NULL,NULL}","{{-1,4},{-1,-1}}",1)
CONTEXT:  SQL statement "SELECT aPt( vl , tn_id, color )  from tnodes where tnode_id = tn_id"
PL/pgSQL function "apt" line 42 at PERFORM
SQL statement "select  aPt(vl, tn.chldrn[d[1]][d[2]], color) from tnodes where tnode_id = tn_id"
PL/pgSQL function "apt" line 46 at SQL statement
SQL statement "SELECT aPt('{0.5,1}',itVar,1)"
PL/pgSQL function "bi" line 16 at PERFORM

I’m using postgres 9.1.14,
Thanks.


Viewing all articles
Browse latest Browse all 1138

Trending Articles