| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Moving tablespaces |
| Дата | |
| Msg-id | 19894.1323184352@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Moving tablespaces (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: [HACKERS] Moving tablespaces
|
| Список | pgsql-docs |
Magnus Hagander <magnus@hagander.net> writes:
> AFAICT, it should be as simple as the attached.
Oh, one other thought is that the function body has to be
conditionalized on HAVE_READLINK (the fact that you forgot that
somewhere else isn't an excuse for not doing it here). IIRC,
only the two built-in tablespaces can exist when not HAVE_READLINK,
so it seems sufficient to handle those cases and then PG_RETURN_NULL
(or maybe throw error) when not HAVE_READLINK.
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера