Re: Get RULE condition and commands - Mailing list pgsql-general

From Vlad Arkhipov
Subject Re: Get RULE condition and commands
Date
Msg-id 4FDEFE75.80106@dc.baikal.ru
Whole thread Raw
In response to Re: Get RULE condition and commands  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 06/16/2012 02:20 AM, Tom Lane wrote:
> Vlad Arkhipov<arhipov@dc.baikal.ru>  writes:
>> What is the proper way of getting RULE condition and commands?
> pg_get_ruledef()
>
>             regards, tom lane
>
It prints the whole CREATE RULE command. Is there any way to extract
WHERE condition of the rule?

pgsql-general by date:

Previous
From: Léa Massiot
Date:
Subject: Re: Starting a cluster as a service
Next
From: Sergey Konoplev
Date:
Subject: Re: array vs bit fields for masking