Re: Using a Conversion Table

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Using a Conversion Table
Дата
Msg-id CAKAnmm++F0SiNBpRt9smmZXP39-gCPoW_5ZPP7xSR8OuSpKngQ@mail.gmail.com
обсуждение исходный текст
Ответ на Using a Conversion Table  (Anthony Apollis <anthony.apollis@gmail.com>)
Ответы Re: Using a Conversion Table
Список pgsql-general
    "Fiscal year" double precision,

This column is an INTEGER in your other table, so your schema is not even internally consistent! Try to use TEXT, INT, DATE and TIMESTAMPTZ whenever possible, with NUMERIC as needed for things with a precision. See:


Cheers,
Greg

P.S. +1 for use of an identity column, though.


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Using a Conversion Table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Two test failures on v16 (compared to v14)