~ubuntu-branches/debian/sid/pgadmin3/sid

« back to all changes in this revision

Viewing changes to xtra/admin81/admin81.sql.in

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2009-07-30 12:27:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730122716-fddbh42on721bbs2
Tags: 1.10.0-1
* New upstream release.
* Adjusted watch file to match release candidates.
* Updated to Standards-Version 3.8.2:
  - Moved to Section: database.
  - Add DEB_BUILD_OPTIONS support for parallel building.
  - Move from findstring to filter suggestion for DEB_BUILD_OPTIONS parsing.
* pgagent got split into its own separate source package by upstream.
* Exclude Docs.vcproj from installation.
* Move doc-base.enus from pgadmin3 to pgadmin3-data package, the files are
  in there too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ***********************************************
2
 
 * Administrative functions - for PostgreSQL 8.1.x
3
 
 * *********************************************** */
4
 
 
5
 
/* generic file access functions (genfile.c) */
6
 
 
7
 
CREATE FUNCTION pg_catalog.pg_file_write(text, text, bool) RETURNS bigint
8
 
   AS 'MODULE_PATHNAME', 'pg_file_write'
9
 
        LANGUAGE C VOLATILE STRICT;
10
 
 
11
 
CREATE FUNCTION pg_catalog.pg_file_rename(text, text, text) RETURNS bool
12
 
   AS 'MODULE_PATHNAME', 'pg_file_rename'
13
 
        LANGUAGE C VOLATILE;
14
 
 
15
 
CREATE FUNCTION pg_catalog.pg_file_unlink(text) RETURNS bool
16
 
   AS 'MODULE_PATHNAME', 'pg_file_unlink'
17
 
        LANGUAGE C VOLATILE STRICT;
18
 
 
19
 
CREATE FUNCTION pg_catalog.pg_file_rename(text, text) RETURNS bool
20
 
   AS 'SELECT pg_file_rename($1, $2, NULL); '
21
 
        LANGUAGE SQL VOLATILE STRICT;
22
 
 
23
 
CREATE FUNCTION pg_catalog.pg_logdir_ls() RETURNS setof record
24
 
   AS 'MODULE_PATHNAME', 'pg_logdir_ls'
25
 
        LANGUAGE C VOLATILE STRICT;
26
 
 
27
 
 
28
 
/* compatibility redefines */
29
 
 
30
 
CREATE FUNCTION pg_catalog.pg_logfile_rotate() RETURNS int4
31
 
  AS 'pg_rotate_logfile'
32
 
   LANGUAGE INTERNAL VOLATILE STRICT;
33
 
 
34
 
CREATE FUNCTION pg_catalog.pg_file_read(text, bigint, bigint) RETURNS text
35
 
   AS 'pg_read_file'
36
 
        LANGUAGE INTERNAL VOLATILE STRICT;
37
 
 
38
 
CREATE FUNCTION pg_catalog.pg_file_length(text) RETURNS bigint
39
 
   AS 'SELECT size FROM pg_stat_file($1)'
40
 
    LANGUAGE SQL VOLATILE STRICT;
41
 
 
42
 
 
43
 
/*
44
 
 
45
 
CREATE VIEW pg_logdir_ls AS
46
 
        SELECT *
47
 
        FROM pg_logdir_ls() AS A
48
 
        (filetime timestamp, filename text);
49
 
 
50
 
*/