4 <title>adminpack
</title>
6 <indexterm zone=
"adminpack">
7 <primary>adminpack
</primary>
11 <filename>adminpack<
/> provides a number of support functions which
12 <application>pgAdmin<
/> and other administration and management tools can
13 use to provide additional functionality, such as remote management
18 <title>Functions implemented
</title>
21 The functions implemented by
<filename>adminpack<
/> can only be run by a
22 superuser. Here's a list of these functions:
25 int8 pg_catalog.pg_file_write(fname text, data text, append bool)
26 bool pg_catalog.pg_file_rename(oldname text, newname text, archivename text)
27 bool pg_catalog.pg_file_rename(oldname text, newname text)
28 bool pg_catalog.pg_file_unlink(fname text)
29 setof record pg_catalog.pg_logdir_ls()
31 /* Renaming of existing backend functions for pgAdmin compatibility */
32 int8 pg_catalog.pg_file_read(fname text, data text, append bool)
33 bigint pg_catalog.pg_file_length(text)
34 int4 pg_catalog.pg_logfile_rotate()