pgsql: Get rid of useless global variable in pg_upgrade.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Get rid of useless global variable in pg_upgrade.
Дата
Msg-id E1SrMjN-0006F4-N4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Get rid of useless global variable in pg_upgrade.

Since the scandir() emulation was taken out of pg_upgrade, there's
no longer any need for scandir_file_pattern to exist as a global
variable.  Replace it with a local in the one remaining function
that was making use of it.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ebd9e26daa3df6518e3d403ef94a86e33168eae3

Modified Files
--------------
contrib/pg_upgrade/pg_upgrade.h  |    1 -
contrib/pg_upgrade/relfilenode.c |   19 +++++++++----------
2 files changed, 9 insertions(+), 11 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Get rid of useless global variable in pg_upgrade.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Syntax support and documentation for event triggers.