Re: DROP OWNED BY doesn't work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: DROP OWNED BY doesn't work
Date: 2006-08-21 01:01:39
Message-ID: 19299.1156122099@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I found one other problem in this area, which was that REASSIGN OWNED
didn't work real well either after I changed serial sequences'
dependency type to AUTO. What I did about it was to make
shdepReassignOwned call ATExecChangeOwner with recursing = true,
which suppresses all those tedious error checks ;-). This means we
don't need objectIsInternalDependency() at all anymore: just barrel
ahead and try to change owner on everything.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mark 2006-08-21 02:45:55 Re: PostgreSQL on 64 bit Linux
Previous Message Josh Berkus 2006-08-20 22:02:30 Re: OTRS

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-21 06:07:41 Updatable views
Previous Message Tom Lane 2006-08-20 21:33:01 Re: [HACKERS] [PATCH] Provide 8-byte transaction IDs to