pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Disable View rule
3+ messages / 3 participants
[nested] [flat]

* Disable View rule
@ 2014-07-16 06:29 Silambarasan Viswanathan <sviswanathan@jamcracker.com>
  2014-07-16 13:39 ` Re: Disable View rule Pavel Golub <pavel@microolap.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Silambarasan Viswanathan @ 2014-07-16 06:29 UTC (permalink / raw)
  To: pgsql-bugs

Hi
I am Silambarasan. could you help me, How to disable the View rule.

Example:
We disable Trigger constraint like
update pg_trigger set tgenabled='D'

I request to disable View rule.

Thanks & Regards
Silambarasan Viswanathan MTT

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Disable View rule
  2014-07-16 06:29 Disable View rule Silambarasan Viswanathan <sviswanathan@jamcracker.com>
@ 2014-07-16 13:39 ` Pavel Golub <pavel@microolap.com>
  2014-07-16 14:25   ` Re: Disable View rule Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Pavel Golub @ 2014-07-16 13:39 UTC (permalink / raw)
  To: Silambarasan Viswanathan <sviswanathan@jamcracker.com>; +Cc: pgsql-bugs

Hello, Silambarasan.

You wrote:


SV> Hi
SV> I am Silambarasan. could you help me, How to disable the View rule.
SV>  
SV> Example:
SV> We disable Trigger constraint like
SV> update pg_trigger set tgenabled='D'
SV>  
SV> I request to disable View rule.
SV>  
SV> Thanks & Regards
SV> Silambarasan Viswanathan MTT

ALTER TABLE view_name DISABLE RULE rewrite_rule_name;

-- 
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com



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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Disable View rule
  2014-07-16 06:29 Disable View rule Silambarasan Viswanathan <sviswanathan@jamcracker.com>
  2014-07-16 13:39 ` Re: Disable View rule Pavel Golub <pavel@microolap.com>
@ 2014-07-16 14:25   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2014-07-16 14:25 UTC (permalink / raw)
  To: Pavel Golub <pavel@microolap.com>; +Cc: Silambarasan Viswanathan <sviswanathan@jamcracker.com>; pgsql-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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-07-16 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 06:29 Disable View rule Silambarasan Viswanathan <sviswanathan@jamcracker.com>
2014-07-16 13:39 ` Pavel Golub <pavel@microolap.com>
2014-07-16 14:25   ` Tom Lane <tgl@sss.pgh.pa.us>

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