Programmatic access to interval units

Поиск
Список
Период
Сортировка
От Nelson Green
Тема Programmatic access to interval units
Дата
Msg-id CAGo-KZ=-JZLK3C-BzZvOzq_23oJ_tnVHEH2JJLMLR3tPbnWSbQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Programmatic access to interval units
Список pgsql-general
Good morning list,

According to the documentation for interval data type inputs, the unit can be one of microsecond, millisecond, second, minute, hour, day, week, month, year, decade, century, or millennium. Are these units stored in a catalog somewhere? I would like to access them programmatically if possible, to validate input for a function I am developing.

Thanks,
Nelson

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Slow delete when many foreign tables are defined
Следующее
От: Andy Colson
Дата:
Сообщение: Re: Slow delete when many foreign tables are defined