GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ALTER_RULE (7)

.ds Aq ’

NAME

ALTER_RULE - change the definition of a rule

CONTENTS

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 rules 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))
Search for    or go to Top of page |  Section 7 |  Main Index


PostgreSQL 9.5.2 ALTER RULE (7) 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.