[PATCH] Add function to_oct

Поиск
Список
Период
Сортировка
От Eric Radman
Тема [PATCH] Add function to_oct
Дата
Msg-id Y6IyTQQ/TsD5wnsH@vm3.eradman.com
обсуждение исходный текст
Ответы Re: [PATCH] Add function to_oct
Re: [PATCH] Add function to_oct
Список pgsql-hackers
Hello!

This patch is a new function based on the implementation of to_hex(int).

Since support for octal integer literals was added, to_oct(int) allows
octal values to be easily stored and returned in query results.

  to_oct(0o755) = '755'

This is probably most useful for storing file system permissions.

--
Eric Radman

Вложения

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