#0 0x00002b410c25efb7 in semop () from /lib64/libc.so.6 #1 0x00000000005b4243 in PGSemaphoreLock (sema=0x2b411dc12ac0, interruptOK=0 '\0') at pg_sema.c:420 #2 0x00000000005e6366 in LWLockAcquire (lockid=56, mode=LW_EXCLUSIVE) at lwlock.c:460 #3 0x00000000005e3099 in LockAcquireExtended (locktag=0x7fff9eec0820, lockmode=1, sessionLock=, dontWait=0 '\0', reportMemoryError=1 '\001') at lock.c:608 #4 0x00000000005e107b in LockRelationOid (relid=2606, lockmode=1) at lmgr.c:79 #5 0x0000000000464d7b in relation_open (relationId=2606, lockmode=-1628698896) at heapam.c:899 #6 0x0000000000464dc3 in heap_open (relationId=196614, lockmode=-1628698896) at heapam.c:1071 #7 0x0000000000531422 in GetDomainConstraints (typeOid=16751) at typecmds.c:2379 #8 0x0000000000541b35 in ExecInitExpr (node=0x6114db0, parent=0x611e6f0) at execQual.c:4845 #9 0x0000000000541a65 in ExecInitExpr (node=0x6114d60, parent=0x611e6f0) at execQual.c:4859 #10 0x0000000000541db6 in ExecInitExpr (node=0x6115c00, parent=0x611e6f0) at execQual.c:4870 #11 0x00000000005552ae in ExecInitResult (node=0x6115c80, estate=0x611e5e0, eflags=0) at nodeResult.c:241 #12 0x0000000000540c09 in ExecInitNode (node=0x30006, estate=0x611e5e0, eflags=1) at execProcnode.c:147 #13 0x000000000053fdeb in standard_ExecutorStart (queryDesc=0x6116510, eflags=0) at execMain.c:795 #14 0x000000000054a5b6 in fmgr_sql (fcinfo=0x7fff9eec0e60) at functions.c:441 #15 0x00000000006a2f05 in fmgr_security_definer (fcinfo=0x30006) at fmgr.c:957 #16 0x0000000000544047 in ExecMakeFunctionResult (fcache=0x610e9b0, econtext=0x610e7c0, isNull=0x610f5e8 "", isDone=0x610f700) at execQual.c:1827 #17 0x0000000000540fb7 in ExecProject (projInfo=, isDone=0x7fff9eec134c) at execQual.c:5089 #18 0x0000000000555403 in ExecResult (node=0x610e6b0) at nodeResult.c:155 #19 0x00000000005409a6 in ExecProcNode (node=0x610e6b0) at execProcnode.c:355 #20 0x000000000053f891 in standard_ExecutorRun (queryDesc=0x2b41210b1868, direction=-1628698896, count=1) at execMain.c:1188 #21 0x000000000054a656 in fmgr_sql (fcinfo=0x7fff9eec1640) at functions.c:475 #22 0x00000000006a2f05 in fmgr_security_definer (fcinfo=0x30006) at fmgr.c:957 #23 0x0000000000545ef0 in ExecMakeFunctionResultNoSets (fcache=0x600e988, econtext=0x600d288, isNull=0x7fff9eec1dc0 "", isDone=) at execQual.c:1894 #24 0x0000000000545e6c in ExecMakeFunctionResultNoSets (fcache=0x600e148, econtext=0x600d288, isNull=0x7fff9eec1ebf "", isDone=) at execQual.c:1866 #25 0x0000000000545f8f in ExecQual (qual=, econtext=0x600d288, resultForNull=0 '\0') at execQual.c:4991 #26 0x00000000005476ef in ExecScan (node=0x600d178, accessMtd=0x5511a0 , recheckMtd=0x551150 ) at execScan.c:192 #27 0x00000000005409ea in ExecProcNode (node=0x600d178) at execProcnode.c:382 #28 0x0000000000554935 in ExecNestLoop (node=0x6009048) at nodeNestloop.c:154 #29 0x0000000000540a6a in ExecProcNode (node=0x6009048) at execProcnode.c:419 #30 0x0000000000554935 in ExecNestLoop (node=0x6000548) at nodeNestloop.c:154 #31 0x0000000000540a6a in ExecProcNode (node=0x6000548) at execProcnode.c:419 #32 0x00000000005560bd in ExecSort (node=0x60002d8) at nodeSort.c:102 #33 0x0000000000540aaa in ExecProcNode (node=0x60002d8) at execProcnode.c:438 #34 0x0000000000552efa in ExecMergeJoin (node=0x5fdfe88) at nodeMergejoin.c:696 #35 0x0000000000540a7a in ExecProcNode (node=0x5fdfe88) at execProcnode.c:423 #36 0x000000000054b2ed in ExecAppend (node=0x44e68a0) at nodeAppend.c:209 #37 0x00000000005409c0 in ExecProcNode (node=0x44e68a0) at execProcnode.c:363 #38 0x000000000054c5d8 in ExecAgg (node=0x44e51c0) at nodeAgg.c:1227 #39 0x0000000000540aca in ExecProcNode (node=0x44e51c0) at execProcnode.c:446 #40 0x00000000005560bd in ExecSort (node=0x44e4f20) at nodeSort.c:102 #41 0x0000000000540aaa in ExecProcNode (node=0x44e4f20) at execProcnode.c:438 #42 0x000000000053f891 in standard_ExecutorRun (queryDesc=0x5fbfc70, direction=-1628698896, count=40) at execMain.c:1188 #43 0x00000000005efcf4 in PortalRunSelect (portal=0xae6d40, forward=, count=40, dest=0x9d8f60) at pquery.c:954 #44 0x00000000005f11c3 in PortalRun (portal=0xae6d40, count=40, isTopLevel=1 '\001', dest=0x9d8f60, altdest=0x9d8f60, completionTag=0x7fff9eec2950 "") at pquery.c:798 #45 0x00000000005ee96b in PostgresMain (argc=, argv=, username=) at postgres.c:2003 #46 0x00000000005bec4c in ServerLoop () at postmaster.c:3555 #47 0x00000000005bf847 in PostmasterMain (argc=3, argv=0x9d24f0) at postmaster.c:1092 #48 0x0000000000569cee in main (argc=3, argv=0x9d24f0) at main.c:188