You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ plpgsql_check
2
2
=============
3
3
4
4
This extension is a full linter for plpgsql for PostgreSQL. It leverages only the internal
5
-
PostgreSQL parser/evaluator so you see exactly the errors that would occur at runtime.
5
+
PostgreSQL parser/evaluator so you see exactly the errors would occur at runtime.
6
6
Furthermore, it parses the SQL inside your routines and finds errors not usually found during
7
7
the "CREATE PROCEDURE/FUNCTION" command. You can control the levels of many warnings and hints.
8
8
Finally, you can add PRAGAMA type markers to turn off/on many aspects allowing you to hide
@@ -172,9 +172,9 @@ You can set level of warnings via function's parameters:
172
172
173
173
*`anycompatiblerangetype DEFAULT 'int4range'` - an actual range type to be used when testing the anycompatible range type
174
174
175
-
*`without_warnings DEFAULT false` - disable all warnings (Ignores other warning parameters) ???
175
+
*`without_warnings DEFAULT false` - disable all warnings (Ignores all xxxx_warning parameters, a quick override)
176
176
177
-
*`all_warnings DEFAULT false` - enable all warnings (Ignores other warning parameters) ???
177
+
*`all_warnings DEFAULT false` - enable all warnings (Ignores other xxx_warning parameters, a quick positive)
178
178
179
179
*`newtable DEFAULT NULL`, `oldtable DEFAULT NULL` - the names of NEW or OLD transition
180
180
tables. These parameters are required when transition tables are used in trigger functions.
@@ -280,7 +280,7 @@ or
280
280
281
281
# Passive mode (only recommended for development or preproduction)
282
282
283
-
Functions should be checked on start??? (when executed? when PG is started?) - plpgsql_check module must be loaded (via postgresql.conf).
283
+
Functions can be checked upon execution - plpgsql_check module must be loaded (via postgresql.conf).
284
284
285
285
## Configuration Settings
286
286
@@ -291,7 +291,7 @@ Functions should be checked on start??? (when executed? when PG is started?) - p
291
291
plpgsql_check.show_performance_warnings = false
292
292
293
293
Default mode is <i>by_function</i>, that means that the enhanced check is done only in
294
-
active mode - by calling the <i>plpgsql_check_function</i>. `fresh_start` means cold start (first time it is started, only???).
294
+
active mode - by calling the <i>plpgsql_check_function</i>. `fresh_start` means cold start (first the function is called).
295
295
296
296
You can enable passive mode by
297
297
@@ -443,7 +443,7 @@ access to shared memory. It depends on `shared_preload_libraries` config. When p
443
443
by `shared_preload_libraries`, then it can allocate shared memory, and function's profiles are stored there.
444
444
When plpgsql_check cannot to allocate shared momory, the profile is stored in session memory.
445
445
446
-
Due to dependencies, `shared_preload_libraries` should to contain `plpgsql` first[PAVEL]True in for Version 1.1? (or always)???
446
+
Due to dependencies, `shared_preload_libraries` should to contain `plpgsql` first
447
447
448
448
postgres=# show shared_preload_libraries ;
449
449
┌──────────────────────────┐
@@ -561,7 +561,7 @@ plpgsql_check provides two functions:
561
561
562
562
## Note
563
563
564
-
There is another very good PLpgSQL profiler - https://bitbucket.org/openscg/plprofiler (Missing) [PAVEL]??? Is this: https://github.com/glynastill/plprofiler
564
+
There is another very good PLpgSQL profiler - https://github.com/glynastill/plprofiler
565
565
566
566
My extension is designed to be simple for use and practical. Nothing more or less.
0 commit comments