Revision 13838
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
4106 | 4106 |
AS $_$ |
4107 | 4107 |
SELECT $$CREATE$$||(CASE WHEN $2 THEN $$ OR REPLACE$$ ELSE '' END)||$$ VIEW $$ |
4108 | 4108 |
||$1||$$ AS |
4109 |
$$||pg_get_viewdef($1)/*no ; because pg_get_viewdef() includes one*/||$$ |
|
4109 |
$$||util.pg_get_viewdef($1)/*no ; because pg_get_viewdef() includes one*/||$$
|
|
4110 | 4110 |
$$||util.mk_set_relation_metadata($1) |
4111 | 4111 |
$_$; |
4112 | 4112 |
|
Also available in: Unified diff
bugfix: schemas/util.sql: show_create_view(): use the overridden version of pg_get_viewdef(), which supports expanded * expressions. this was possibly being used already whenever util happened to be in the search_path.