pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Golub <pavel@microolap.com>
Cc: Silambarasan Viswanathan <sviswanathan@jamcracker.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Disable View rule
Date: Wed, 16 Jul 2014 10:25:59 -0400
Message-ID: <26068.1405520759@sss.pgh.pa.us> (raw)
In-Reply-To: <1526870184.20140716163948@gf.microolap.com>
References: <4B7F9FA45B232F4EB25D19BA168F6F01019DE5F3@EX-BE-002-SV1.shared.themessagecenter.com>
	<1526870184.20140716163948@gf.microolap.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Pavel Golub <pavel@microolap.com> writes:
> You wrote:
> SV> I am Silambarasan. could you help me, How to disable the View rule.

> ALTER TABLE view_name DISABLE RULE rewrite_rule_name;

The code won't let you do that; but I wonder what the OP thinks would
happen if it did.  A view doesn't have any underlying storage that could
be selected from if the on-select rule were to go away.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <26068.1405520759@sss.pgh.pa.us>
Permalink:  ../26068.1405520759@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26068.1405520759@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pavel@microolap.com, sviswanathan@jamcracker.com
  Subject: Re: Disable View rule
  In-Reply-To: <26068.1405520759@sss.pgh.pa.us>
  References: <4B7F9FA45B232F4EB25D19BA168F6F01019DE5F3@EX-BE-002-SV1.shared.themessagecenter.com> <1526870184.20140716163948@gf.microolap.com> <26068.1405520759@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox