| От | Tom Lane |
|---|---|
| Тема | Re: fomatting an interval |
| Дата | |
| Msg-id | 5997.1052801748@sss.pgh.pa.us обсуждение |
| Ответ на | Re: fomatting an interval (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
| Список | pgsql-general |
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Given that recompiling and adding the new tuple into pg_proc by means of
> a simple INSERT(*) should be enough, it's hardly necessary to force an
> initdb.
> (*) It _can_ be done, right?
I think so. The critical point is that interval_scale is not in the
compiled-in table of known internal functions in 7.3.2. A recompile
with the added pg_proc.h line should get it in there, and then you could
manually add the pg_proc entry without actually doing initdb. But I
haven't tested it to be sure there are no gotchas.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера