ALTER_RULE man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

ALTER RULE(7)		PostgreSQL 9.3.2 Documentation		 ALTER RULE(7)

NAME
       ALTER_RULE - change the definition of a rule

SYNOPSIS
       ALTER RULE name ON table_name RENAME TO new_name

DESCRIPTION
       ALTER RULE changes properties of an existing rule. Currently, the only
       available action is to change the rule's name.

       To use ALTER RULE, you must own the table or view that the rule applies
       to.

PARAMETERS
       name
	   The name of an existing rule to alter.

       table_name
	   The name (optionally schema-qualified) of the table or view that
	   the rule applies to.

       new_name
	   The new name for the rule.

EXAMPLES
       To rename an existing rule:

	   ALTER RULE notify_all ON emp RENAME TO notify_me;

COMPATIBILITY
       ALTER RULE is a PostgreSQL language extension, as is the entire query
       rewrite system.

SEE ALSO
       CREATE RULE (CREATE_RULE(7)), DROP RULE (DROP_RULE(7))

PostgreSQL 9.3.2		     2013			 ALTER RULE(7)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net