mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Add /contrib/adminpack to contrib/Makefile, do case-folding change.
This commit is contained in:
parent
26cfefabad
commit
85f6e27d9b
@ -1,10 +1,11 @@
|
|||||||
# $PostgreSQL: pgsql/contrib/Makefile,v 1.65 2006/04/23 02:17:59 ishii Exp $
|
# $PostgreSQL: pgsql/contrib/Makefile,v 1.66 2006/05/30 13:25:57 momjian Exp $
|
||||||
|
|
||||||
subdir = contrib
|
subdir = contrib
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
WANTED_DIRS = \
|
WANTED_DIRS = \
|
||||||
|
adminpack \
|
||||||
btree_gist \
|
btree_gist \
|
||||||
chkpass \
|
chkpass \
|
||||||
cube \
|
cube \
|
||||||
|
@ -29,7 +29,7 @@ adddepend -
|
|||||||
by Rod Taylor <rbt@rbt.ca>
|
by Rod Taylor <rbt@rbt.ca>
|
||||||
|
|
||||||
adminpack -
|
adminpack -
|
||||||
File and log manipulation routines, used by Pgadmin
|
File and log manipulation routines, used by pgAdmin
|
||||||
by From: Dave Page <dpage@vale-housing.co.uk>
|
by From: Dave Page <dpage@vale-housing.co.uk>
|
||||||
|
|
||||||
btree_gist -
|
btree_gist -
|
||||||
|
@ -1,47 +1,47 @@
|
|||||||
PostgreSQL Administration Functions
|
PostgreSQL Administration Functions
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
This directory is a PostgreSQL 'contrib' module which implements a number of
|
This directory is a PostgreSQL 'contrib' module which implements a number of
|
||||||
support functions which pgAdmin and other administration and management tools
|
support functions which pgAdmin and other administration and management tools
|
||||||
can use to provide additional functionality if installed on a server.
|
can use to provide additional functionality if installed on a server.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
This module is normally distributed as a PostgreSQL 'contrib' module. To
|
This module is normally distributed as a PostgreSQL 'contrib' module. To
|
||||||
install it from a pre-configured source tree run the following commands
|
install it from a pre-configured source tree run the following commands
|
||||||
as a user with appropriate privileges from the adminpack source directory:
|
as a user with appropriate privileges from the adminpack source directory:
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
Alternatively, if you have a PostgreSQL 8.2 or higher installation but no
|
Alternatively, if you have a PostgreSQL 8.2 or higher installation but no
|
||||||
source tree you can install using PGXS. Simply run the following commands the
|
source tree you can install using PGXS. Simply run the following commands the
|
||||||
adminpack source directory:
|
adminpack source directory:
|
||||||
|
|
||||||
make USE_PGXS=1
|
make USE_PGXS=1
|
||||||
make USE_PGXS=1 install
|
make USE_PGXS=1 install
|
||||||
|
|
||||||
pgAdmin will look for the functions in the Maintenance Database (usually
|
pgAdmin will look for the functions in the Maintenance Database (usually
|
||||||
"postgres" for 8.2 servers) specified in the connection dialogue for the server.
|
"postgres" for 8.2 servers) specified in the connection dialogue for the server.
|
||||||
To install the functions in the database, either run the adminpack.sql script
|
To install the functions in the database, either run the adminpack.sql script
|
||||||
using the pgAdmin SQL tool (and then close and reopen the connection to the
|
using the pgAdmin SQL tool (and then close and reopen the connection to the
|
||||||
freshly instrumented server), or run the script using psql, eg:
|
freshly instrumented server), or run the script using psql, eg:
|
||||||
|
|
||||||
psql -U postgres postgres < adminpack.sql
|
psql -U postgres postgres < adminpack.sql
|
||||||
|
|
||||||
Other administration tools that use this module may have different requirements,
|
Other administration tools that use this module may have different requirements,
|
||||||
please consult the tool's documentation for further details.
|
please consult the tool's documentation for further details.
|
||||||
|
|
||||||
Objects implemented (superuser only)
|
Objects implemented (superuser only)
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
int8 pg_catalog.pg_file_write(fname text, data text, append bool)
|
int8 pg_catalog.pg_file_write(fname text, data text, append bool)
|
||||||
int8 pg_catalog.pg_file_read(fname text, data text, append bool)
|
int8 pg_catalog.pg_file_read(fname text, data text, append bool)
|
||||||
bool pg_catalog.pg_file_rename(oldname text, newname text)
|
bool pg_catalog.pg_file_rename(oldname text, newname text)
|
||||||
bool pg_catalog.pg_file_rename(oldname text, newname text, archivname text)
|
bool pg_catalog.pg_file_rename(oldname text, newname text, archivname text)
|
||||||
bool pg_catalog.pg_file_unlink(fname text)
|
bool pg_catalog.pg_file_unlink(fname text)
|
||||||
bigint pg_catalog.pg_file_size(text)
|
bigint pg_catalog.pg_file_size(text)
|
||||||
int4 pg_catalog.pg_logfile_rotate()
|
int4 pg_catalog.pg_logfile_rotate()
|
||||||
setof record pg_catalog.pg_logdir_ls()
|
setof record pg_catalog.pg_logdir_ls()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user