Skip to content

Commit d2e1f9f

Browse files
authored
Merge pull request #55 from japinli/fix-docs
Fix the documentation about session_preload_libraries.
2 parents be6fbca + 4dbf879 commit d2e1f9f

2 files changed

Lines changed: 0 additions & 28 deletions

File tree

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,24 +166,10 @@ or by setting it at database level as follow:
166166
$$;
167167

168168

169-
non-superuser must load the library using the plugins/ directory
170-
as follow:
171-
172-
DO $$
173-
BEGIN
174-
EXECUTE format('ALTER DATABASE %I SET session_preload_libraries = ''$libdir/plugins/pgtt''', current_database());
175-
END
176-
$$;
177-
178-
Take care to follow installation instruction above to create the
179-
symlink from the plugins/ directory to the extension library file.
180-
181169
The pgtt extension use a dedicated schema to store related objects,
182170
by default: `pgtt_schema`. The extension take care that this schema
183171
is always at end of the `search_path`.
184172

185-
gtt_testdb=# LOAD '$libdir/plugins/pgtt';
186-
LOAD
187173
gtt_testdb=# SHOW search_path;
188174
search_path
189175
--------------------

pgtt.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,24 +166,10 @@ or by setting it at database level as follow:
166166
$$;
167167

168168

169-
non-superuser must load the library using the plugins/ directory
170-
as follow:
171-
172-
DO $$
173-
BEGIN
174-
EXECUTE format('ALTER DATABASE %I SET session_preload_libraries = ''$libdir/plugins/pgtt''', current_database());
175-
END
176-
$$;
177-
178-
Take care to follow installation instruction above to create the
179-
symlink from the plugins/ directory to the extension library file.
180-
181169
The pgtt extension use a dedicated schema to store related objects,
182170
by default: `pgtt_schema`. The extension take care that this schema
183171
is always at end of the `search_path`.
184172

185-
gtt_testdb=# LOAD '$libdir/plugins/pgtt';
186-
LOAD
187173
gtt_testdb=# SHOW search_path;
188174
search_path
189175
--------------------

0 commit comments

Comments
 (0)