"Tom Lane" <[EMAIL PROTECTED]> writes > > Please exhibit a case in which you feel this is needed. >
Suppose I want to print a debug info in parseTypeString() like this: + elog(DEBUG1, "parse type %s", buf.data); raw_parsetree_list = raw_parser(buf.data); Rebuild the server, psql it: test=# set log_min_messages = debug1; SET test=# select regtypein('int4'); DEBUG: parse type SELECT NULL::int4 CONTEXT: invalid type name "int4" regtypein ----------- integer (1 row) The CONTEXT info is bogus. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match