Обсуждение: pgsql/src/pl/plpgsql/src gram.y plpgsql.h

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

pgsql/src/pl/plpgsql/src gram.y plpgsql.h

От
tgl@postgresql.org
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/29 17:57:37

Modified files:
    src/pl/plpgsql/src: gram.y plpgsql.h

Log message:
    Tweak plpgsql's expression reader to be smarter about parentheses and
    to give more useful error messages.  Stephen Szabo's example of this
    morning ('loop' used as a variable name inside a subselect) works
    correctly now, and a FOR that is misinterpreted as an integer FOR will
    draw 'missing .. at end of SQL expression', which is at least
    marginally helpful.