Re: [HACKERS] Updating column on row update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, "Thom Brown" <thombrown(at)gmail(dot)com>, "PGSQL Mailing List" <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Subject: Re: [HACKERS] Updating column on row update
Date: 2009-11-24 19:29:20
Message-ID: 22294.1259090960@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Yes, I'd expect the user to custom-code it, because it's not clear
>> exactly which properties the script would be depending on and which
>> ones it's okay to allow to vary. To take just one example, is it
>> okay if the object ownership is different from current user?

> Yeah, that's an area which I figured would require some discussion.
> The best behavior isn't immediately clear to me in that regard. I
> didn't figure that arriving at some decision on that was necessarily
> an insurmountable obstacle.

The reason a script-driven solution seems attractive is exactly that
there doesn't seem to be a good one-size-fits-all behavior for complex
objects.

> There was, up-thread, discussion by multiple people of the desire to
> have CINE for tables. Andrew's example was specifically about an
> alternative way of spelling that. This branch of the thread has been
> all about exactly that. (Well, at least in my head.)

I thought the thread was about CREATE LANGUAGE. If you want to discuss
CINE in general it would probably be appropriate to start a different
thread about that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Haas 2009-11-24 19:46:55 Re: [HACKERS] Updating column on row update
Previous Message Scott Bailey 2009-11-24 19:26:17 Re: [COMMITTERS] recover deleted records

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-11-24 19:46:55 Re: [HACKERS] Updating column on row update
Previous Message Tom Lane 2009-11-24 19:23:06 Re: [HACKERS] Updating column on row update