pgsql: Cause '*' and 'foo.*' notations to mark the referenced RTE(s) as

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Cause '*' and 'foo.*' notations to mark the referenced RTE(s) as
Дата
Msg-id 20060814233932.A47539FB38F@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Cause '*' and 'foo.*' notations to mark the referenced RTE(s) as
requiring read permissions.  Up till now there was no possible case
in which the RTEs wouldn't already have ACL_SELECT set ... but now that
you can say something like 'INSERT INTO foo ... RETURNING *' this is
an essential step.  With this commit, a RETURNING clause adds the
requirement for SELECT permissions on the target table if and only if
the clause actually reads the value of at least one target-table column.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_clause.c (r1.156 -> r1.157)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_clause.c.diff?r1=1.156&r2=1.157)
        parse_target.c (r1.147 -> r1.148)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_target.c.diff?r1=1.147&r2=1.148)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix oversight in initial implementation of PORTAL_ONE_RETURNING
Следующее
От: meskes@postgresql.org (Michael Meskes)
Дата:
Сообщение: pgsql: Added lots of SoC stuff made by Joachim.