pgsql-server/src/include fmgr.h

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql-server/src/include fmgr.h
Дата
Msg-id 20020912002642.04427475FC4@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@postgresql.org    02/09/11 20:26:42

Modified files:
    src/include    : fmgr.h

Log message:
    The small context diff below corrects what seems to be an oversight in
    fmgr.h - it's discouraged to access fcinfo directly but there is no
    macro to get the number of arguments passed to the function. Checking
    the number of arguments is often useful when you have a function which
    can be called like:

    func('arg');
    func(null);
    func();

    all mapping to the same C function.

    the macro has a function-like appearance to match the other PG_*
    macros.

    Lee Kindness.


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

Предыдущее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql-server/contrib/cube CHANGES README.cube ...
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server/src/backend/utils/misc guc.c