]> granicus.if.org Git - postgresql/commit
*) inet_(client|server)_(addr|port)() and necessary documentation for
authorBruce Momjian <bruce@momjian.us>
Wed, 26 May 2004 18:35:51 +0000 (18:35 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 26 May 2004 18:35:51 +0000 (18:35 +0000)
commit97d625dd1cf766e25815e1f6d5e5ee845f7b1030
tree080dafb65de8c0537cb59e7ac76e87e91e91ea21
parent51227f8d9db81237a3da8133fa0dc5e39d9fc905
*) 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
14 files changed:
doc/src/sgml/func.sgml
src/backend/catalog/aclchk.c
src/backend/catalog/namespace.c
src/backend/libpq/hba.c
src/backend/libpq/ip.c
src/backend/libpq/pqcomm.c
src/backend/postmaster/postmaster.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/network.c
src/backend/utils/fmgr/dfmgr.c
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/include/utils/geo_decls.h
src/interfaces/libpq/fe-connect.c