postgresql/doc/src/sgml/ref
Tom Lane abc3120e9b Add server support for "plugin" libraries that can be used for add-on tasks
such as debugging and performance measurement.  This consists of two features:
a table of "rendezvous variables" that allows separately-loaded shared
libraries to communicate, and a new GUC setting "local_preload_libraries"
that allows libraries to be loaded into specific sessions without explicit
cooperation from the client application.  To make local_preload_libraries
as flexible as possible, we do not restrict its use to superusers; instead,
it is restricted to load only libraries stored in $libdir/plugins/.  The
existing LOAD command has also been modified to allow non-superusers to
LOAD libraries stored in this directory.

This patch also renames the existing GUC variable preload_libraries to
shared_preload_libraries (after a suggestion by Simon Riggs) and does some
code refactoring in dfmgr.c to improve clarity.

Korry Douglas, with a little help from Tom Lane.
2006-08-15 18:26:59 +00:00
..
abort.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
allfiles.sgml Implement DROP OWNED and REASSIGN OWNED. These new commands facilitate the 2005-11-21 12:49:33 +00:00
alter_aggregate.sgml Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
alter_conversion.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_database.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
alter_domain.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
alter_function.sgml Minor SGML style police work. 2006-02-18 23:14:45 +00:00
alter_group.sgml Basic documentation for ROLEs. The user-manag chapter still needs to 2005-07-26 23:24:02 +00:00
alter_index.sgml Documentation fixes for FILLFACTOR patch. Minor other editorialization. 2006-07-04 18:07:24 +00:00
alter_language.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
alter_opclass.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_operator.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_role.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
alter_schema.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_sequence.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
alter_table.sgml Cause ALTER TABLE to perform ALTER COLUMN DROP DEFAULT operations during 2006-08-03 20:57:06 +00:00
alter_tablespace.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_trigger.sgml Add documentation for ALTER TABLE ENABLE/DISABLE TRIGGER. 2005-08-24 17:24:19 +00:00
alter_type.sgml Update documentation to reflect the new ALTER OWNER rules for all 2005-10-13 22:44:51 +00:00
alter_user.sgml Call SET varaiables "configuration_parameter"s in the documentation. 2006-04-25 14:56:04 +00:00
analyze.sgml Refer to GUC variables using <xref> tags rather than <varname> tags, 2004-03-09 16:57:47 +00:00
begin.sgml Allow commas in BEGIN, START TRANSACTION, and SET TRANSACTION, as required 2004-08-12 21:00:34 +00:00
checkpoint.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
close.sgml Add a new system view, pg_cursors, that displays the currently available 2006-01-18 06:49:30 +00:00
cluster.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
clusterdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
comment.sgml Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
commit.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
commit_prepared.sgml Minor SGML work: add some more hyperlinks, where appropriate. 2006-02-26 03:20:46 +00:00
copy.sgml Suggest Win32 users user E'' strings and double backslashes used for 2006-04-22 03:03:11 +00:00
create_aggregate.sgml Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
create_cast.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
create_constraint.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
create_conversion.sgml Documentation tweak: add spaces around the brackets in the description 2006-01-11 22:16:39 +00:00
create_database.sgml Rethink the locking mechanisms used for CREATE/DROP/RENAME DATABASE. 2006-05-04 16:07:29 +00:00
create_domain.sgml Fix a bunch of problems with domains by making them use special input functions 2006-04-05 22:11:58 +00:00
create_function.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
create_group.sgml Basic documentation for ROLEs. The user-manag chapter still needs to 2005-07-26 23:24:02 +00:00
create_index.sgml Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so that 2006-07-11 21:05:57 +00:00
create_language.sgml Create the pg_pltemplate system catalog to hold template information 2005-09-08 20:07:42 +00:00
create_opclass.sgml Document that CREATE OPERATOR CLASS amounts to granting public execute 2006-01-13 18:10:25 +00:00
create_operator.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_role.sgml Appended is a small documentation patch that adds a note to the CREATE 2006-03-03 03:06:05 +00:00
create_rule.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_schema.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
create_sequence.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
create_table.sgml Documentation fixes for FILLFACTOR patch. Minor other editorialization. 2006-07-04 18:07:24 +00:00
create_table_as.sgml Documentation fixes for FILLFACTOR patch. Minor other editorialization. 2006-07-04 18:07:24 +00:00
create_tablespace.sgml Create 'default_tablespace' GUC variable that supplies a TABLESPACE 2004-11-05 19:17:13 +00:00
create_trigger.sgml Add documentation about the behavior of BEFORE triggers and referential 2005-12-09 19:39:41 +00:00
create_type.sgml Fix a bunch of problems with domains by making them use special input functions 2006-04-05 22:11:58 +00:00
create_user.sgml Add per-user and per-database connection limit options. 2005-07-31 17:19:22 +00:00
create_view.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
createdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
createlang.sgml Create the pg_pltemplate system catalog to hold template information 2005-09-08 20:07:42 +00:00
createuser.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
deallocate.sgml Allow the types of parameters to PREPARE to be inferred. If a parameter's 2006-01-15 22:18:47 +00:00
declare.sgml Minor SGML work: add some more hyperlinks, where appropriate. 2006-02-26 03:20:46 +00:00
delete.sgml Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests. 2006-08-12 02:52:06 +00:00
drop_aggregate.sgml Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
drop_cast.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_conversion.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_database.sgml Rethink the locking mechanisms used for CREATE/DROP/RENAME DATABASE. 2006-05-04 16:07:29 +00:00
drop_domain.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_function.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_group.sgml DROP IF EXISTS for ROLE/USER/GROUP 2006-02-04 19:06:47 +00:00
drop_index.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_language.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_opclass.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_operator.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_owned.sgml Correct some errors and do some SGML police work on the reference pages 2006-04-02 04:02:40 +00:00
drop_role.sgml Correct some errors and do some SGML police work on the reference pages 2006-04-02 04:02:40 +00:00
drop_rule.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_schema.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_sequence.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_table.sgml Minor improvement to DROP TABLE reference page. 2006-04-02 03:56:40 +00:00
drop_tablespace.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_trigger.sgml docs for DROP ... IF EXISTS for the following cases: 2006-06-16 22:27:55 +00:00
drop_type.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
drop_user.sgml DROP IF EXISTS for ROLE/USER/GROUP 2006-02-04 19:06:47 +00:00
drop_view.sgml DROP objecttype IF EXISTS for the following objects: 2005-11-19 17:39:45 +00:00
dropdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
droplang.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
dropuser.sgml Clean up some stray remaining references to pg_shadow, pg_user, pg_group. 2005-08-15 02:40:36 +00:00
ecpg-ref.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
end.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
execute.sgml Allow the types of parameters to PREPARE to be inferred. If a parameter's 2006-01-15 22:18:47 +00:00
explain.sgml Update EXPLAIN wording for GEQO usage. 2006-01-20 16:41:55 +00:00
fetch.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
grant.sgml Fix documentation error: GRANT/REVOKE for roles only accept role names 2006-08-02 16:29:49 +00:00
initdb.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
insert.sgml Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests. 2006-08-12 02:52:06 +00:00
ipcclean.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
listen.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
load.sgml Add server support for "plugin" libraries that can be used for add-on tasks 2006-08-15 18:26:59 +00:00
lock.sgml Implement sharable row-level locks, and use them for foreign key references 2005-04-28 21:47:18 +00:00
move.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
notify.sgml More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
pg_config-ref.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
pg_controldata.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
pg_ctl-ref.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
pg_dump.sgml Allow multiple -n (schema) and -t (table) pg_dump options, and add -T 2006-08-01 18:05:04 +00:00
pg_dumpall.sgml Document issues with non-default tablespaces and pg_dumpall restores. 2006-06-16 22:01:17 +00:00
pg_resetxlog.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
pg_restore.sgml Add pg_dump -X no-data-for-failed-tables option to suppress loading data 2006-08-01 18:21:44 +00:00
postgres-ref.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
postmaster.sgml Merge postmaster and postgres command into just postgres. postmaster 2006-06-18 15:38:37 +00:00
prepare.sgml Minor SGML work: add some more hyperlinks, where appropriate. 2006-02-26 03:20:46 +00:00
prepare_transaction.sgml Minor SGML work: add some more hyperlinks, where appropriate. 2006-02-26 03:20:46 +00:00
psql-ref.sgml Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
reassign_owned.sgml Correct some errors and do some SGML police work on the reference pages 2006-04-02 04:02:40 +00:00
reindex.sgml Documentation fixes for FILLFACTOR patch. Minor other editorialization. 2006-07-04 18:07:24 +00:00
reindexdb.sgml Move reindexdb from /contrib to /bin. 2005-07-29 15:13:11 +00:00
release_savepoint.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
reset.sgml Back out the rest of the RESET CONNECTION patch. 2006-04-25 18:58:37 +00:00
revoke.sgml Fix documentation error: GRANT/REVOKE for roles only accept role names 2006-08-02 16:29:49 +00:00
rollback.sgml Some mop-up work for savepoints (nested transactions). Store a small 2004-08-01 17:32:22 +00:00
rollback_prepared.sgml Minor SGML work: add some more hyperlinks, where appropriate. 2006-02-26 03:20:46 +00:00
rollback_to.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
savepoint.sgml Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro. 2005-01-06 20:53:34 +00:00
select.sgml Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
select_into.sgml Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
set.sgml Call SET varaiables "configuration_parameter"s in the documentation. 2006-04-25 14:56:04 +00:00
set_constraints.sgml Use schema search path to find the first matching contraint name for SET 2006-04-27 00:33:46 +00:00
set_role.sgml Basic documentation for ROLEs. The user-manag chapter still needs to 2005-07-26 23:24:02 +00:00
set_session_auth.sgml Basic documentation for ROLEs. The user-manag chapter still needs to 2005-07-26 23:24:02 +00:00
set_transaction.sgml Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji. 2006-07-31 01:10:56 +00:00
show.sgml Remove hard-wired lists of timezone abbreviations in favor of providing 2006-07-25 03:51:23 +00:00
start_transaction.sgml Minor documentation cleanup and improvement. 2004-09-20 00:04:19 +00:00
truncate.sgml Add CASCADE option to TRUNCATE. Joachim Wieland 2006-03-03 03:30:54 +00:00
unlisten.sgml $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
update.sgml Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests. 2006-08-12 02:52:06 +00:00
vacuum.sgml Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
vacuumdb.sgml Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00