Revision 13482
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
3727 | 3727 |
AS $_$ |
3728 | 3728 |
SELECT $$CREATE$$||(CASE WHEN $2 THEN $$ OR REPLACE$$ ELSE '' END)||$$ VIEW $$ |
3729 | 3729 |
||$1||$$ AS |
3730 |
$$||pg_get_viewdef($1)||/*no ; because pg_get_viewdef() includes one*/$$
|
|
3730 |
$$||pg_get_viewdef($1)/*no ; because pg_get_viewdef() includes one*/||$$
|
|
3731 | 3731 |
$$||util.show_grants_for($1) |
3732 |
||util.show_set_comment($1)||$$ |
|
3733 |
$$ |
|
3732 | 3734 |
$_$; |
3733 | 3735 |
|
3734 | 3736 |
|
Also available in: Unified diff
bugfix: schemas/util.sql: show_create_view(): also need to include view comment