RE: [HACKERS] Moving relation extension locks out of heavyweight lock manager

2018-05-21 Thread Alex Ignatov
oid LockRelationForExtension(Relation relation); ^ gistvacuum.c:95:3: error: too many arguments to function ‘UnlockRelationForExtension’ UnlockRelationForExtension(rel, ExclusiveLock); ^ In file included from gistvacuum.c:21:0: ../../../../src/include/storage/extension_lock.h:31:

RE: [HACKERS] Moving relation extension locks out of heavyweight lock manager

2018-05-21 Thread Alex Ignatov
-- Alex Ignatov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -Original Message- From: Alex Ignatov <a.igna...@postgrespro.ru> Sent: Monday, May 21, 2018 6:00 PM To: 'Robert Haas' <robertmh...@gmail.com>; 'Andres Freund' <and...@

RE: Direct converting numeric types to bool

2018-02-28 Thread Alex Ignatov
revent us from: postgres=# select 1::bigint::int::boolean; bool -- t (1 row) It is just one additional casting and required no additional patching -- Alex Ignatov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company