Fix compilation of logtriga on PostgreSQL 9
authorLukáš Lalinský <lalinsky@gmail.com>
Sun, 16 Oct 2011 09:33:02 +0000 (11:33 +0200)
committerLukáš Lalinský <lalinsky@gmail.com>
Sun, 16 Oct 2011 09:33:02 +0000 (11:33 +0200)
commit6d2579cc2dbbd37f6a914f84afb7129484b1a6c0
treea7baaa87ffff5d3f34730fdeba81b150be0baf8a
parent21c478d2eb241e049452f13e4f8191dce4cea5a9
Fix compilation of logtriga on PostgreSQL 9

This patch copies the is_keyword function from sql/pgq/triggers/stringutil.c
and uses it instead of calling ScanKeywordLookup directly. It also avoid
quoting some strings that are not reserved keywords.
sql/logtriga/textbuf.c