Re: New SQL Datatype RECURRINGCHAR - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: New SQL Datatype RECURRINGCHAR
Date
Msg-id 004b01c10762$e88cde20$1600a8c0@jester
Whole thread Raw
In response to Re: New SQL Datatype RECURRINGCHAR  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: New SQL Datatype RECURRINGCHAR
List pgsql-hackers
> > > This would be a potential feature of being able to insert into
> views
> > > in general.  Reversing the CREATE VIEW statement to accept
> inserts,
> > > deletes and updates.
> > Definitely not a 'potential' feature, but a existing and
documented
> one.
> > Read up on rules, especially 'ON INSERT DO INSTEAD' stuff. Its not
> > automatic, though.
>
> Trust me, I know how to go about doing those kinds of things
manually.
> I was referring to the automated reveral -- which creates this
> features in a very simple manner without any additions or changes to
> system tables -- aside from reverse rules themselves which is a more
> generic feature.

Hmm. My above statement lost all credibility in poor grammer and
speeling.  Time for bed I suppose.

Anyway, the point is that some of the simple views should be straight
forward to reversing automatically if someone has the will and the
time it can be done.  A while back a list of 'views which cannot be
reversed' was created and included things such as Unions,
Intersections, exclusions, aggregates, CASE statements, and a few more
items.



pgsql-hackers by date:

Previous
From: "Rod Taylor"
Date:
Subject: Re: New SQL Datatype RECURRINGCHAR
Next
From: Tom Lane
Date:
Subject: Re: New SQL Datatype RECURRINGCHAR