Soni <diptatapa@xxxxxxxxx> writes: > Here's the backtrace. Please let me know if it helps. > #4 OidFunctionCall1Coll (functionId=functionId@entry=1, > collation=collation@entry=0, arg1=arg1@entry=75471) at fmgr.c:1325 hm, there's "function 1" ... > #5 0x0000000000532054 in ProcedureCreate (procedureName=<optimized > out>, procNamespace=procNamespace@entry=2200, replace=<optimized out>, > returnsSet=returnsSet@entry=0 '\000', > returnType=returnType@entry=2950, proowner=10, > languageObjectId=languageObjectId@entry=13, > languageValidator=languageValidator@entry=1, ... and that's where it's coming from. Seems like you have corrupt data in pg_language. Might be entertaining to see what "select * from pg_language" gives. regards, tom lane