Skip to content

Segmentation fault in one transaction create table and add_to_pathman_config #182

Closed
@NikitinNikolay

Description

@NikitinNikolay

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

Конфигурация 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

Activity

ildus

ildus commented on Oct 25, 2018

@ildus
Collaborator

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

ildus

ildus commented on Oct 25, 2018

@ildus
Collaborator

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

NikitinNikolay

NikitinNikolay commented on Oct 25, 2018

@NikitinNikolay
Author

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

NikitinNikolay

NikitinNikolay commented on Oct 25, 2018

@NikitinNikolay
Author

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

ildus

ildus commented on Oct 26, 2018

@ildus
Collaborator

отлично :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ildus@NikitinNikolay

        Issue actions

          Segmentation fault in one transaction create table and add_to_pathman_config · Issue #182 · postgrespro/pg_pathman