1
1
External file access extension
2
- ------------------------------
2
+ ==============================
3
3
4
4
Allow access to "external files" from PostgreSQL server file systems.
5
5
This extension is only a "secure version" of the server side lo_ * functions.
@@ -10,15 +10,15 @@ A BFILE column stores a file locator that points to an external file containing
10
10
the data: (DIRECTORY, FILENAME). Here the data type is called EFILE.
11
11
12
12
13
- 1 . Installation requirements
14
- ----------------------------
13
+ Installation requirements
14
+ -------------------------
15
15
16
16
17
17
PostgreSQL 9.1 or better are required.
18
18
User with PostgreSQL superuser role for creating extension.
19
19
20
- 2 . Installation
21
- ---------------
20
+ Installation
21
+ ------------
22
22
23
23
external_file has been written as a PostgreSQL extension and uses the Extension
24
24
Building Infrastructure "PGXS".
@@ -55,8 +55,8 @@ change the default search path at user level too.
55
55
Please refer to the PostgreSQL documentation for more information.
56
56
57
57
58
- 3 . Usage
59
- --------
58
+ Usage
59
+ -----
60
60
61
61
External file are accessed using two values, an alias for the path of the
62
62
directory where the file is, and the file name.
@@ -115,8 +115,8 @@ Example:
115
115
(2 lines)
116
116
117
117
118
- 4 . Function reference
119
- ---------------------
118
+ Function reference
119
+ ------------------
120
120
121
121
* ** readEfile(e_file in efile) returns bytea**
122
122
@@ -139,18 +139,18 @@ Example:
139
139
full path for the file, otherwise an error is generated
140
140
useful to check if session user has access to this external file
141
141
142
- 5 . License
143
- ----------
142
+ License
143
+ -------
144
144
145
145
Author Dominique Legendre
146
146
147
- Copyright (c) 2012-2015 Brgm - All rights reserved.
147
+ Copyright (c) 2012-2018 Brgm - All rights reserved.
148
148
149
149
See LICENCE file.
150
150
151
151
152
- 6 . Acknowledgements
153
- -------------------
152
+ Acknowledgements
153
+ ----------------
154
154
155
155
Great thanks to Gilles Darold for code review, security patches and project hosting.
156
156
0 commit comments