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
+12-15Lines changed: 12 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -7,27 +7,24 @@ Response is generated in `rds` format, so it's compatible with `ngx_rds_json`
7
7
and `ngx_drizzle` modules.
8
8
9
9
10
-
FORK
11
-
====
10
+
Community fork
11
+
==============
12
12
13
-
This is an amateurish fork that adds a bunch of questionable stuff:
13
+
This is a fork that adds a bunch of new features:
14
14
15
-
* It adds prepared statements (bound directly to nginx variables). For each connection in pool it keeps its own set of prepared statements. Seemed to work decently.
16
-
* It adds json output option to format rows as json arrays
17
-
* It allows postgres_rewrite to make redirects (with interpolations)
18
-
19
-
Even more questionable features:
20
-
21
-
* Include substring of SQL query from JSON by key
22
-
* Adds `errors` and `no_errors` conditions that check if response json has any `error:` or `errors:` keys in it (nested)
23
-
*
24
-
25
-
With this i'm trying to close the gaps of building a foundation for Rails-like REST system. It got good stuff (prepared statements) mixed with weird/opinionated stuff (query substitution from json). If anybody (of ngx_postgres developers?) would like to work on incorporating parts of this into mainline - drop me a line at invizko@gmail.com
15
+
Postgres additions (by @Inviz)
16
+
***prepared statements** (bound directly to nginx variables). For each connection in pool it keeps its own set of prepared statements.
17
+
***json output** option to format rows as json arrays
18
+
* postgres_rewrite can now make **redirects** (with interpolations)
19
+
***`errors`** and **`no_errors`** rewrite conditions that look for `error:` or `errors:` in json response
26
20
21
+
Server additions (by @cryptofuture)
22
+
***socket** support for pg connection
23
+
***dynamic module** loading support
27
24
28
25
Status
29
26
======
30
-
This module is production-ready and it's compatible with following nginx
27
+
This is a **fork** which is less battle-tested that mainline project. Original version of the module is production-ready and it's compatible with following nginx
0 commit comments