2011/6/21 Brendan Jurd <dire...@gmail.com>: > On 21 June 2011 13:51, Pavel Stehule <pavel.steh...@gmail.com> wrote: >> I have one question. I can't find any rules for work with tokens, etc, >> where is quotes allowed and disallowed? >> >> I don't see any other issues. > > I'm not sure I understand your question, but quotes are allowed > anywhere and they always act to remove any special meaning the token > might otherwise have had. It's much like quoting a column name in > SQL.
I don't understand to using a macro #define token_is_keyword(t, k) (!t->quoted && strcmp(t->string, k) == 0) because you disallowed a quoting? Regards Pavel > > I didn't change any of the hba parsing rules, so escaping and whatnot > should all work the way it did before. The only difference should be > that after parsing, keywords will only be evaluated for fields where > they matter. > > Cheers, > BJ > -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers