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: 20040526183556.67975D1B503@svr1.postgresql.org (view raw or flat)
Thread:
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/foo.so 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:
--------------
    pgsql-server/doc/src/sgml:
        func.sgml (r1.204 -> r1.205)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/func.sgml.diff?r1=1.204&r2=1.205)
    pgsql-server/src/backend/catalog:
        aclchk.c (r1.99 -> r1.100)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/aclchk.c.diff?r1=1.99&r2=1.100)
        namespace.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/namespace.c.diff?r1=1.64&r2=1.65)
    pgsql-server/src/backend/libpq:
        hba.c (r1.123 -> r1.124)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/libpq/hba.c.diff?r1=1.123&r2=1.124)
        ip.c (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/libpq/ip.c.diff?r1=1.25&r2=1.26)
        pqcomm.c (r1.168 -> r1.169)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/libpq/pqcomm.c.diff?r1=1.168&r2=1.169)
    pgsql-server/src/backend/postmaster:
        postmaster.c (r1.394 -> r1.395)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/postmaster.c.diff?r1=1.394&r2=1.395)
    pgsql-server/src/backend/utils/adt:
        geo_ops.c (r1.84 -> r1.85)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/geo_ops.c.diff?r1=1.84&r2=1.85)
        network.c (r1.49 -> r1.50)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/network.c.diff?r1=1.49&r2=1.50)
    pgsql-server/src/backend/utils/fmgr:
        dfmgr.c (r1.72 -> r1.73)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/fmgr/dfmgr.c.diff?r1=1.72&r2=1.73)
    pgsql-server/src/include/catalog:
        pg_proc.h (r1.331 -> r1.332)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/catalog/pg_proc.h.diff?r1=1.331&r2=1.332)
    pgsql-server/src/include/utils:
        builtins.h (r1.239 -> r1.240)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/builtins.h.diff?r1=1.239&r2=1.240)
        geo_decls.h (r1.43 -> r1.44)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/geo_decls.h.diff?r1=1.43&r2=1.44)
    pgsql-server/src/interfaces/libpq:
        fe-connect.c (r1.270 -> r1.271)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/libpq/fe-connect.c.diff?r1=1.270&r2=1.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-2014 The PostgreSQL Global Development Group