python - lo: Add types.array.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - lo: Add types.array.
Дата
Msg-id 20071127154722.5E84917ADCE0@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add types.array.

This provides a Postgres'ish interface to array objects. Notably, IndexErrors do
not occur as they would with standard Python sequence types; None is returned as
NULL is returned in Postgres. Python's 0-based indexing and negative indexes are
used.

Notably, this type does not enforce consistent element types.

Modified Files:
--------------
    lo/postgresql:
        types.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/types.py.diff?r1=1.2&r2=1.3)

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

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - typ: Use a generator instead of a list for record_unpack.
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add example of MONEY casting to numeric if locale is known.