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

pgsql-server: *) inet_(client|server)_(addr|port)() and necessary

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: *) inet_(client|server)_(addr|port)() and necessary
Date: 2004-05-26 18:35:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
*) inet_(client|server)_(addr|port)() and necessary documentation for
the four functions.

> Also, please justify the temp-related changes.  I was not aware that we
> had any breakage there.

patch-tmp-schema.txt contains the following bits:

*) Changes pg_namespace_aclmask() so that the superuser is always able
to create objects in the temp namespace.
*) Changes pg_namespace_aclmask() so that if this is a temp namespace,
objects are only allowed to be created in the temp namespace if the
user has TEMP privs on the database.  This encompasses all object
creation, not just TEMP tables.
*) InitTempTableNamespace() checks to see if the current user, not the
session user, has access to create a temp namespace.

The first two changes are necessary to support the third change.  Now
it's possible to revoke all temp table privs from non-super users and
limiting all creation of temp tables/schemas via a function that's
executed with elevated privs (security definer).  Before this change,
it was not possible to have a setuid function to create a temp
table/schema if the session user had no TEMP privs.

patch-area-path.txt contains:

*) Can now determine the area of a closed path.

patch-dfmgr.txt contains:

*) Small tweak to add the library path that's being expanded.

I was using $lib/ and couldn't easily figure out what the error
message, "invalid macro name in dynamic library path" meant without
looking through the source code.  With the path in there, at least I
know where to start looking in my config file.

Sean Chittenden

Modified Files:
        func.sgml (r1.204 -> r1.205)
        aclchk.c (r1.99 -> r1.100)
        namespace.c (r1.64 -> r1.65)
        hba.c (r1.123 -> r1.124)
        ip.c (r1.25 -> r1.26)
        pqcomm.c (r1.168 -> r1.169)
        postmaster.c (r1.394 -> r1.395)
        geo_ops.c (r1.84 -> r1.85)
        network.c (r1.49 -> r1.50)
        dfmgr.c (r1.72 -> r1.73)
        pg_proc.h (r1.331 -> r1.332)
        builtins.h (r1.239 -> r1.240)
        geo_decls.h (r1.43 -> r1.44)
        fe-connect.c (r1.270 -> r1.271)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-05-26 18:37:35
Subject: pgsql-server: Renumber to prevent duplicate oids.
Previous:From: Tom LaneDate: 2004-05-26 18:35:42
Subject: pgsql-server: Use a cleaner substitute for the inability to apply

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