pgsql: Various cosmetic code cleanup for PL/Python: - use "bool" rather

Поиск
Список
Период
Сортировка
От neilc@postgresql.org (Neil Conway)
Тема pgsql: Various cosmetic code cleanup for PL/Python: - use "bool" rather
Дата
Msg-id 20051226042848.711A59DD596@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Various cosmetic code cleanup for PL/Python:

- use "bool" rather than "int" for boolean variables

- use "PLy_malloc" rather than "malloc" in two places

- define "PLy_strdup", and use it rather than malloc() + strcpy() in
  two places (which should have been memcpy(), anyway).

- remove a bunch of redundant parentheses from expressions that do not
  need the parentheses for code clarity

Modified Files:
--------------
    pgsql/src/pl/plpython:
        plpython.c (r1.66 -> r1.67)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c.diff?r1=1.66&r2=1.67)

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

Предыдущее
От: gsmet@pgfoundry.org (User Gsmet)
Дата:
Сообщение: pgfouine - pgfouine: new parser
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add: * %Make row-wise comparisons work per SQL spec Right