Skip to content

Segmentation fault in one transaction create table and add_to_pathman_config #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NikitinNikolay opened this issue Oct 23, 2018 · 5 comments

Comments

@NikitinNikolay
Copy link

Здравствуйте!

Конфигурация Red Hat Enterprise Linux Server release 6.10 (Santiago) + PostgreSQL 9.6.6 + pg_pathman 1.5.2

После прогона следующего теста:

drop table if exists test;

begin;

create table test
(
n numeric not null,
part_key numeric not null
);

select add_to_pathman_config(oid, 'part_key')
from pg_class
where relname = 'test';

commit;

Теряется соединение с бд и в логе постгреса появляется запись
< 2018-10-23 17:34:28.198 MSK > LOG: server process (PID 36607) was terminated by signal 11: Segmentation fault

@ildus
Copy link
Collaborator

ildus commented Oct 25, 2018

А есть бектрейс? У меня не воспроизводится.

@ildus
Copy link
Collaborator

ildus commented Oct 25, 2018

Вы пытались сделать миграцию расширения с 1.4 на 1.5 через alter extension .. update?

@NikitinNikolay
Copy link
Author

Да, делался update.

@NikitinNikolay
Copy link
Author

Сделал drop & create extension и в тестовом примере и в нашем коде ошибка пропала.
Спасибо!

@ildus
Copy link
Collaborator

ildus commented Oct 26, 2018

отлично :)

@ildus ildus closed this as completed Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants