#0 ResourceOwnerRememberCatCacheRef (owner=0x60817c0, tuple=0x2b411e635100) at resowner.c:631 #1 0x000000000068cb08 in SearchCatCache (cache=0xa66fb0, v1=, v2=140735859649264, v3=, v4=) at catcache.c:1149 #2 0x00000000004ac453 in pg_proc_aclmask (proc_oid=509825280, roleid=16397, mask=128, how=ACLMASK_ANY) at aclchk.c:3556 #3 0x00000000004ac55e in pg_proc_aclcheck (proc_oid=101193664, roleid=509825280, mode=0) at aclchk.c:4133 #4 0x000000000054292d in init_fcache (foid=1258, fcache=0x6467af0, fcacheCxt=0x5fc26c0, needDescForSets=1 '\001') at execQual.c:1176 #5 0x00000000005441cc in ExecEvalOper (fcache=0x2b411e635100, econtext=0x6464170, isNull=0x7fff9eebf0f0 "\002", isDone=0x7fff9eebed54) at execQual.c:2280 #6 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eebedb0, argList=, econtext=0x6464170) at execQual.c:1358 #7 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x64672e0, econtext=0x6464170, isNull=0x7fff9eebf5d0 "\002", isDone=0x7fff9eebf234) at execQual.c:1605 #8 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eebf290, argList=, econtext=0x6464170) at execQual.c:1358 #9 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x6466ad0, econtext=0x6464170, isNull=0x7fff9eebfab1 "", isDone=0x7fff9eebf714) at execQual.c:1605 #10 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eebf770, argList=, econtext=0x6464170) at execQual.c:1358 #11 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x6465f60, econtext=0x6464170, isNull=0x7fff9eebff90 "\002", isDone=0x7fff9eebfbf4) at execQual.c:1605 #12 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eebfc50, argList=, econtext=0x6464170) at execQual.c:1358 #13 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x64653d0, econtext=0x6464170, isNull=0x7fff9eec0470 "\002", isDone=0x7fff9eec00d4) at execQual.c:1605 #14 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eec0130, argList=, econtext=0x6464170) at execQual.c:1358 #15 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x6464bc0, econtext=0x6464170, isNull=0x7fff9eec0950 "\002", isDone=0x7fff9eec05b4) at execQual.c:1605 #16 0x000000000054123c in ExecEvalFuncArgs (fcinfo=0x7fff9eec0610, argList=, econtext=0x6464170) at execQual.c:1358 #17 0x0000000000543ed0 in ExecMakeFunctionResult (fcache=0x64643b0, econtext=0x6464170, isNull=0x646c078 "", isDone=0x646c0d0) at execQual.c:1605 #18 0x000000000054559d in ExecEvalCoerceToDomain (cstate=0x6464360, econtext=0x2b411e635100, isNull=0x0, isDone=0xa6c6a8) at execQual.c:3765 #19 0x0000000000540fb7 in ExecProject (projInfo=, isDone=0x7fff9eec0b5c) at execQual.c:5089 #20 0x0000000000555403 in ExecResult (node=0x6464060) at nodeResult.c:155 #21 0x00000000005409a6 in ExecProcNode (node=0x6464060) at execProcnode.c:355 #22 0x000000000053f891 in standard_ExecutorRun (queryDesc=0x645be80, direction=509825280, count=1) at execMain.c:1188 #23 0x000000000054a656 in fmgr_sql (fcinfo=0x7fff9eec0e60) at functions.c:475 #24 0x00000000006a2f05 in fmgr_security_definer (fcinfo=0x60817c0) at fmgr.c:957 #25 0x0000000000544047 in ExecMakeFunctionResult (fcache=0x6454320, econtext=0x6454130, isNull=0x6454f58 "", isDone=0x6455070) at execQual.c:1827 #26 0x0000000000540fb7 in ExecProject (projInfo=, isDone=0x7fff9eec134c) at execQual.c:5089 #27 0x0000000000555403 in ExecResult (node=0x6454020) at nodeResult.c:155 #28 0x00000000005409a6 in ExecProcNode (node=0x6454020) at execProcnode.c:355 #29 0x000000000053f891 in standard_ExecutorRun (queryDesc=0x2b4121c908a0, direction=509825280, count=1) at execMain.c:1188 #30 0x000000000054a656 in fmgr_sql (fcinfo=0x7fff9eec1640) at functions.c:475 #31 0x00000000006a2f05 in fmgr_security_definer (fcinfo=0x60817c0) at fmgr.c:957 #32 0x0000000000545ef0 in ExecMakeFunctionResultNoSets (fcache=0x2b4121c6d1b0, econtext=0x2b4121c6a2c8, isNull=0x7fff9eec1dc0 "", isDone=) at execQual.c:1894 #33 0x0000000000545e6c in ExecMakeFunctionResultNoSets (fcache=0x2b4121c6c970, econtext=0x2b4121c6a2c8, isNull=0x7fff9eec1ebf "", isDone=) #34 0x0000000000545f8f in ExecQual (qual=, econtext=0x2b4121c6a2c8, resultForNull=0 '\0') at execQual.c:4991 #35 0x00000000005476ef in ExecScan (node=0x2b4121c6a1b8, accessMtd=0x5511a0 , recheckMtd=0x551150 ) at execScan.c:192 #36 0x00000000005409ea in ExecProcNode (node=0x2b4121c6a1b8) at execProcnode.c:382 #37 0x0000000000554935 in ExecNestLoop (node=0x2b4121c66088) at nodeNestloop.c:154 #38 0x0000000000540a6a in ExecProcNode (node=0x2b4121c66088) at execProcnode.c:419 #39 0x0000000000554935 in ExecNestLoop (node=0x2b4121c5a180) at nodeNestloop.c:154 #40 0x0000000000540a6a in ExecProcNode (node=0x2b4121c5a180) at execProcnode.c:419 #41 0x00000000005560bd in ExecSort (node=0x2b4121c59f10) at nodeSort.c:102 #42 0x0000000000540aaa in ExecProcNode (node=0x2b4121c59f10) at execProcnode.c:438 #43 0x0000000000552efa in ExecMergeJoin (node=0x2b4121c39b10) at nodeMergejoin.c:696 #44 0x0000000000540a7a in ExecProcNode (node=0x2b4121c39b10) at execProcnode.c:423 #45 0x000000000054b2ed in ExecAppend (node=0x6388db0) at nodeAppend.c:209 #46 0x00000000005409c0 in ExecProcNode (node=0x6388db0) at execProcnode.c:363 #47 0x000000000054c5d8 in ExecAgg (node=0x62d1610) at nodeAgg.c:1227 #48 0x0000000000540aca in ExecProcNode (node=0x62d1610) at execProcnode.c:446 #49 0x00000000005560bd in ExecSort (node=0x62d13a0) at nodeSort.c:102 #50 0x0000000000540aaa in ExecProcNode (node=0x62d13a0) at execProcnode.c:438 #51 0x000000000053f891 in standard_ExecutorRun (queryDesc=0x6350740, direction=509825280, count=40) at execMain.c:1188 #52 0x00000000005efcf4 in PortalRunSelect (portal=0xae6f80, forward=, count=40, dest=0x9d8f60) at pquery.c:954 #53 0x00000000005f11c3 in PortalRun (portal=0xae6f80, count=40, isTopLevel=1 '\001', dest=0x9d8f60, altdest=0x9d8f60, completionTag=0x7fff9eec2950 "") at pquery.c:798 #54 0x00000000005ee96b in PostgresMain (argc=, argv=, username=) at postgres.c:2003 #55 0x00000000005bec4c in ServerLoop () at postmaster.c:3555 #56 0x00000000005bf847 in PostmasterMain (argc=3, argv=0x9d24f0) at postmaster.c:1092 #57 0x0000000000569cee in main (argc=3, argv=0x9d24f0) at main.c:188