Dmitry Ivanov
Dmitry Ivanov
@blueyed yep, it works, thanks!
Привет, @darthunix! > В некоторых случаях это правильное поведение. Но иногда хотелось бы, чтобы родительская таблица оставалась доступна на чтение, просто из нее пропадали данные из внешней партиции. Я думаю,...
Обсуждал с коллегами похожую задачу, в результате чего удалось кое-что придумать. Для foreign server можно перечислить несколько хостов через запятую: ```plpgsql select srvname, srvoptions from pg_foreign_server ; srvname | srvoptions...
> Вы используете пропатченную версию foreign server? У меня не получается на ванильном pg 9.6 завести работу с внешним сервером, подключенным к нескольким хостам... Это я сплоховал: тестировал на сборке...
Hi @gabrieledonufrio, Sorry for the late feedback. Currently it's not possible to build pg_pathman against vanilla PostgreSQL on Windows, because we use some symbols that are not exported on Windows...
Hi @p2p-mdurbha, > Unfortunately, my pg_restore fails with "...already exists" error for pg_pathman objects. Could you show the error messages? I'm sure that your problem is negligible. We have tests...
I suspect you're using Ansible, right? In that case you could hide non-zero exit code, for example: ```plpgsql pg_restore ... || true ```
> I cannot hide errors, incase there are genuine errors that need to be addressed. True, but in a sense it's a genuine error. You see, the problem is that...
@alexmsu75, I guess you got it wrong. What I said means that pg_restore will always complain about these objects if you dump whole DB with pg_pathman installed. The reason is...
@alexmsu75, @p2p-mdurbha My research has led me to the following conclusion: you can safely drop policies before dumping your DB, since they'll be restored by the `create extension` statement. There's...