Revision 12487
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
2151 | 2151 |
/* debug_print_return_value() needed because this function is used with EXECUTE |
2152 | 2152 |
rather than util.eval() (in order to affect the calling function), so the |
2153 | 2153 |
search_path would not otherwise be printed */ |
2154 |
SELECT util.debug_print_return_value($$SET$$
|
|
2155 |
||util._if($2, $$ /*LOCAL*/$$::text, $$ LOCAL$$) ||$$ search_path TO $$||$1)
|
|
2154 |
SELECT $$SET$$||util._if($2, $$ /*LOCAL*/$$::text, $$ LOCAL$$)
|
|
2155 |
||$$ search_path TO $$||$1
|
|
2156 | 2156 |
$_$; |
2157 | 2157 |
|
2158 | 2158 |
|
Also available in: Unified diff
schemas/util.sql: mk_set_search_path(): no need to debug_print_return_value() anymore because functions now use set_search_path() (or something that calls it), which debug-prints the statement (`EXECUTE util.mk_set_search_path()` did not)