Re: Segmentation fault on RelationGetDescr in my first extension

2023-01-09 Thread Kyotaro Horiguchi
At Thu, 29 Dec 2022 13:52:18 +0300, Дмитрий Цветков wrote in > I'm trying to write my first extension and open a table in it. > I use check_password_hook and my function executes at the moment of > changing user password. > > But if I try to open a table inside this function, I get Segmentation

Fwd: Segmentation fault on RelationGetDescr in my first extension

2022-12-30 Thread Дмитрий Цветков
Hi! I'm trying to write my first extension and open a table in it. I use check_password_hook and my function executes at the moment of changing user password. But if I try to open a table inside this function, I get Segmentation fault on the line with "RelationGetDescr". What am I doing wrong?