Project

General

Profile

« Previous | Next » 

Revision 12468

schemas/util.sql: mk_set_search_path(text): include LOCAL commented out, because the user might want to run it with another statement as a single command, in which case it would be useful because they will be in the same transaction (http://www.postgresql.org/docs/9.3/static/sql-set.html#AEN81154)

View differences:

trunk/schemas/util.sql
2103 2103
/* debug_print_return_value() needed because this function is used with EXECUTE
2104 2104
rather than util.eval() (in order to affect the calling function), so the
2105 2105
search_path would not otherwise be printed */
2106
SELECT util.debug_print_return_value($$SET$$||util._if($2, ''::text, $$ LOCAL$$)
2107
||$$ search_path TO $$||$1)
2106
SELECT util.debug_print_return_value($$SET$$
2107
||util._if($2, $$ /*LOCAL*/$$::text, $$ LOCAL$$) ||$$ search_path TO $$||$1)
2108 2108
$_$;
2109 2109

  
2110 2110

  

Also available in: Unified diff