Re: [HACKERS] Rules: first fix on monday - Mailing list pgsql-hackers

From Keith Parks
Subject Re: [HACKERS] Rules: first fix on monday
Date
Msg-id 199808162021.VAA08008@mtcc.demon.co.uk
Whole thread Raw
Responses Re: [HACKERS] Rules: first fix on monday  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
Jan,

Whilst you are working on the rules system it would be nice if
you could look for an oportunity to store the plain text rule
definition at creation time.

If the definition were stored in a table column it would allow us
to dump and restore databases in a more complete way.

I looked at this some while ago myself but never got close to
making it work.

    Keith.

jwieck@debis.com (Jan Wieck)
>
> Hi,
>
>     got  a  lot  of  things working up to now. Most things on the
>     relation level are fixed  now,  including  qualified  instead
>     rules.  Update  rules  can  now  correctly refer to *new* and
>     *current*.
>
>     Must check if instead nothing with/without  qualification  is
>     O.K.  and  if  the  regression tests are still happy with the
>     changes.
>
>     What I haven't touched yet are rules on the  attribute  level
>     and  the  update  new stuff. If regression tests walk through
>     and the instead nothing is O.K. I'll send a first patch  with
>     some test queries on monday.  Next todo is then update new.
>
>     Have a nice wieckend :-)
>
>
> Jan
>
> --
>
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me.                                  #
> #======================================== jwieck@debis.com (Jan Wieck) #
>
>
>


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Psql doesn't allow multiple action rules
Next
From: Keith Parks
Date:
Subject: Re: [HACKERS] int8 type -- call for porting results!