summaryrefslogtreecommitdiffstats
path: root/syntax/modules/postgres.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/modules/postgres.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/syntax/modules/postgres.vim b/syntax/modules/postgres.vim
new file mode 100644
index 00000000..37cd901a
--- /dev/null
+++ b/syntax/modules/postgres.vim
@@ -0,0 +1,17 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Postgres Module <http://labs.frickle.com/nginx_ngx_postgres/>
+" Upstream module that allows nginx to communicate directly with PostgreSQL database.
+syn keyword ngxDirectiveThirdParty postgres_server
+syn keyword ngxDirectiveThirdParty postgres_keepalive
+syn keyword ngxDirectiveThirdParty postgres_pass
+syn keyword ngxDirectiveThirdParty postgres_query
+syn keyword ngxDirectiveThirdParty postgres_rewrite
+syn keyword ngxDirectiveThirdParty postgres_output
+syn keyword ngxDirectiveThirdParty postgres_set
+syn keyword ngxDirectiveThirdParty postgres_escape
+syn keyword ngxDirectiveThirdParty postgres_connect_timeout
+syn keyword ngxDirectiveThirdParty postgres_result_timeout
+
+
+endif