Обсуждение: pgsql: Kris Jurka pointed out that the qualified_name production wasn't

Поиск
Список
Период
Сортировка

pgsql: Kris Jurka pointed out that the qualified_name production wasn't

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Kris Jurka pointed out that the qualified_name production wasn't
working as intended --- for some reason, FROM a.b.c was getting
parsed as if it were a function name and not a qualified name.
I think there must be a bug in bison, because it should have
complained that the grammar was ambiguous.  Anyway, fix it along
the same lines previously used for func_name vs columnref, and get
rid of the right-recursion in attrs that seems to have confused
bison.

Modified Files:
--------------
    pgsql/src/backend/parser:
        gram.y (r2.479 -> r2.480)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y.diff?r1=2.479&r2=2.480)