Skip site navigation (1) Skip section navigation (2)

Re: Shared dependency patch

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Shared dependency patch
Date: 2005-03-18 21:51:52
Message-ID: 20050318215152.GA30144@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-patches
On Wed, Mar 09, 2005 at 01:05:31AM -0300, Alvaro Herrera wrote:

Hackers,

I have updated this patch to the current CVS HEAD.  If somebody would be
so kind to review this for applying at his earliest convenience, I'd
appreciate it.

Previous description below:

> Here is the latest installation of my shared dependency patch.
> As some of you may remember, the purpose of this patch is to record
> dependencies on shared objects, such as users, groups and tablespaces,
> from regular database objects.  This is done on a new shared system
> catalog called pg_shdepend, so that when a backend wants to drop any
> shared object, it can easily verify whether it is referenced in other
> database.
> 
> I have upgraded the patch to include references present in ACLs, and to
> lock the objects appropiately before checking.  To do this I had to
> change the LOCKTAG struct somewhat, using a previous patch by Rod Taylor
> (thanks Rod!); and add a LockSharedObject() function.

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Investigación es lo que hago cuando no sé lo que estoy haciendo"
(Wernher von Braun)

Attachment: shdep-patch-11.tar.gz
Description: application/x-tar-gz (22.8 KB)

In response to

Responses

pgsql-patches by date

Next:From: Michael FuhrDate: 2005-03-19 05:08:47
Subject: PL/Python patch for Universal Newline Support
Previous:From: Gabor BerenyiDate: 2005-03-18 20:34:11
Subject: fwd: libpq

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group