head 1.39; access; symbols Version_2_1:1.13; locks; strict; comment @ * @; 1.39 date 92.07.06.05.04.28; author mao; state Exp; branches; next 1.38; 1.38 date 92.07.04.04.03.53; author mao; state Exp; branches; next 1.37; 1.37 date 92.07.03.19.04.09; author mer; state Exp; branches; next 1.36; 1.36 date 92.04.01.01.46.08; author mer; state Exp; branches; next 1.35; 1.35 date 92.02.28.05.32.20; author mao; state Exp; branches; next 1.34; 1.34 date 92.01.02.16.37.54; author glass; state Exp; branches; next 1.33; 1.33 date 91.12.15.02.01.22; author glass; state Exp; branches; next 1.32; 1.32 date 91.11.17.20.47.14; author mer; state Exp; branches; next 1.31; 1.31 date 91.11.15.16.28.47; author hong; state Exp; branches; next 1.30; 1.30 date 91.11.12.23.23.44; author mer; state Exp; branches; next 1.29; 1.29 date 91.11.07.00.25.30; author mer; state Exp; branches; next 1.28; 1.28 date 91.10.16.23.16.03; author mer; state Exp; branches; next 1.27; 1.27 date 91.09.08.16.16.36; author hong; state Exp; branches; next 1.26; 1.26 date 91.08.29.23.54.55; author mer; state Exp; branches; next 1.25; 1.25 date 91.07.30.00.12.03; author mao; state Exp; branches; next 1.24; 1.24 date 91.06.19.01.47.55; author cimarron; state Exp; branches; next 1.23; 1.23 date 91.06.18.15.42.40; author sp; state Exp; branches; next 1.22; 1.22 date 91.05.24.15.33.33; author mer; state Exp; branches; next 1.21; 1.21 date 91.05.01.11.26.35; author cimarron; state Exp; branches; next 1.20; 1.20 date 91.05.01.02.50.54; author cimarron; state Exp; branches; next 1.19; 1.19 date 91.04.29.03.00.38; author cimarron; state Exp; branches; next 1.18; 1.18 date 91.04.28.09.14.58; author cimarron; state Exp; branches; next 1.17; 1.17 date 91.04.11.21.30.52; author sp; state Exp; branches; next 1.16; 1.16 date 91.04.10.16.07.42; author sp; state Exp; branches; next 1.15; 1.15 date 91.04.02.21.37.33; author kemnitz; state Exp; branches; next 1.14; 1.14 date 91.03.19.17.01.40; author kemnitz; state Exp; branches; next 1.13; 1.13 date 91.02.27.15.40.54; author mer; state Exp; branches; next 1.12; 1.12 date 91.02.24.14.38.54; author sp; state Exp; branches; next 1.11; 1.11 date 91.02.11.12.33.56; author cimarron; state Exp; branches; next 1.10; 1.10 date 91.02.11.12.28.45; author cimarron; state Exp; branches; next 1.9; 1.9 date 91.02.11.12.26.31; author cimarron; state Exp; branches; next 1.8; 1.8 date 91.02.08.10.34.57; author choi; state Exp; branches; next 1.7; 1.7 date 91.01.19.18.07.46; author sp; state Exp; branches; next 1.6; 1.6 date 91.01.15.19.35.26; author sp; state Exp; branches; next 1.5; 1.5 date 90.10.25.02.39.23; author kemnitz; state Exp; branches; next 1.4; 1.4 date 90.10.15.15.16.17; author choi; state Exp; branches; next 1.3; 1.3 date 90.08.23.02.20.00; author choi; state Exp; branches; next 1.2; 1.2 date 90.08.23.02.02.24; author choi; state Exp; branches; next 1.1; 1.1 date 90.08.22.11.51.24; author choi; state Exp; branches; next ; desc @New dynamic_syms.c @ 1.39 log @get rid of function no longer used in the code @ text @/* * dynamic_syms.c -- * Linkable POSTGRES symbols code. * * Description: * This file contains an array of function and data symbols with symbol * names for use during dynamic linking of external object code. * * In addition, identification strings for header files are located at * the end of this file. * * Note: * Most of the POSTGRES definitions should disappear to be replaced * by "FILENAME_SYMBOLS" lines as header files are converted to use the * ExternDecl and SymbolDecl macros. No effort has been made to make this * file lintable; at present, don't even try. -hirohama */ /* Hack to avoid including math.h, which causes stuff to screw up on the * Sparcstation running SunOS 4. */ #include #include "tmp/postgres.h" RcsId("$Header: /private/mao/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.38 1992/07/04 04:03:53 mao Exp mao $"); /* * Files which define the "FILENAME_H" strings and "FILENAME_SYMBOLS" lists. */ #include "access/att.h" #include "access/attnum.h" #include "access/htup.h" #include "access/istrat.h" #include "access/skey.h" #include "access/tqual.h" #include "access/tupdesc.h" #include "catalog/catname.h" #include "rules/rlock.h" #include "storage/block.h" #include "storage/buf.h" #include "storage/bufmgr.h" #include "storage/bufpage.h" #include "storage/fd.h" #include "storage/itemid.h" #include "storage/itemptr.h" #include "storage/off.h" #include "storage/page.h" #include "storage/pagenum.h" #include "storage/part.h" #include "storage/pos.h" #include "tmp/miscadmin.h" #include "utils/exc.h" #include "utils/excid.h" #include "utils/palloc.h" #include "utils/rel.h" #include "utils/module.h" #define BuiltinsIncluded #include "utils/fmgr.h" #include "utils/syms.h" #ifdef PALLOC_DEBUG #undef palloc #undef pfree #undef MemoryContextAlloc #undef MemoryContextFree #undef AllocSetReset #undef malloc #undef free extern free(); #endif PALLOC_DEBUG /* * data_ptr -- * Pointers to external data are treated identically to function pointers * in BSD UNIX a.out(5). */ #define data_ptr func_ptr /* * Preliminary security configuration control. * * Note: * At present, does not take ordering or dependencies into account. */ /* * Fake external declarations which should be removed as migration to header * files occurs. * * Functions are grouped by type of functionality and sorted within groups. */ extern pq_getnchar(), pq_getint(), pq_getstr(), pq_putint(), pq_putnchar(), pq_getinaddr(), pq_getinserv(), pq_putstr(); extern inter_lb(), inter_sb(), inter_sl(), interpt_sl(), path_in(), path_inter(), path_is_cheaper(), path_length(), path_ln(), path_n_eq(), path_n_ge(), path_n_gt(), path_n_le(), path_n_lt(), path_out(), point_above(), point_below(), point_construct(), point_copy(), point_distance(), point_dt(), point_eq(), point_horiz(), point_in(), point_left(), point_out(), point_right(), point_sl(), point_slope(), point_vert(), pointdist(), position(); extern NumberOfBitsPerByte(), TimeIsBefore(), TransactionIdAdd(), abstimeeq(), abstimege(), abstimegt(), abstimein(), abstimele(), abstimelt(), abstimene(), abstimeout(), atof1(), boolin(), boolout(), byteain(), byteaout(), char16eq(), char16in(), char16ne(), char16out(), char16regexeq(), chardiv(), chareq(), charge(), chargt(), charin(), charle(), charlt(), charmi(), charmul(), charne(), charout(), charpl(), dtin(), dtof(), dtout(), float48div(), float48eq(), float48ge(), float48gt(), float48le(), float48lt(), float48mi(), float48mul(), float48ne(), float48pl(), float4abs(), float4div(), float4eq(), float4ge(), float4gt(), float4in(), float4inAd(), float4le(), float4lt(), float4mi(), float4mul(), float4ne(), float4out(), float4outAd(), float4pl(), float4um(), float84div(), float84eq(), float84ge(), float84gt(), float84le(), float84lt(), float84mi(), float84mul(), float84ne(), float84pl(), float8abs(), float8div(), float8eq(), float8ge(), float8gt(), float8in(), float8inAd(), float8le(), float8lt(), float8mi(), float8mul(), float8ne(), float8out(), float8outAd(), float8pl(), float8um(), ftoa(), ftod(), int28in(), int28out(), int44in(), int44out(), int2div(), int2eq(), int2fac(), int2ge(), int2gt(), int2in(), int2le(), int2lt(), int2mi(), int2mod(), int2mul(), int2ne(), int2out(), int2pl(), int4div(), int4eq(), int4fac(), int4ge(), int4gt(), int4in(), int4le(), int4lt(), int4mi(), int4mod(), int4mul(), int4ne(), int4out(), int4pl(), ininterval(), intervalct(), intervalend(), intervaleq(), intervalleneq(), intervallenge(), intervallengt(), intervallenle(), intervallenlt(), intervallenne(), intervalov(), intervalrel(), intervalstart(), isabstime(), isreltime(), istinterval(), itoa(), ltoa(), keyfirsteq(), oid8in(), oid8out(), regprocin(), regprocout(), reltimeeq(), reltimege(), reltimegt(), reltimein(), reltimele(), reltimelt(), reltimene(), reltimeout(), texteq(), textin(), textne(), textout(), textregexeq(), timeinsec(), timemi(), timenow(), timenowout(), timepl(), tintervalin(), tintervalout(), tlen(), oidnotin(), int4notin(), xideq(), xidge(), xidgt(), xidle(), xidmi(); extern dlog(), elog(); extern NodeIsType(), NodeTagGetSize(), SetNodeType(); extern GetCurrentCommandId(), GetCurrentTransactionId(), GetCurrentTransactionStartTime(), GetDataHome(), OverrideTransactionSystem(); extern EnablePortalManager(), GetPortalByName(), BlankPortalAssignName(), /* CreatePortal(), */ PortalSetQuery(), PortalGetQueryDesc(), PortalGetState(), PortalDestroy(), PortalResetHeapMemory(), StartPortalAllocMode(); EndPortalAllocMode(), PortalGetVariableMemory(), PortalGetHeapMemory(), PortalVariableMemoryGetPortal(), PortalHeapMemoryGetPortal(), PortalVariableMemoryGetHeapMemory(), PortalHeapMemoryGetVariableMemory(); extern CreateGlobalMemory(), GlobalMemoryDestroy(), MemoryContextAlloc(), MemoryContextFree(), MemoryContextGetName(), MemoryContextRealloc(), MemoryContextSwitchTo(), PointerGetAllocSize(); extern PageIndexTupleDelete(), PageIndexTupleDeleteAdjustLinePointers(), endpskip(), pskip(), startpskip(); extern AbortCurrentTransaction(), AttributeGetAttName(), BitArrayBitIsSet(), BitArrayClearBit(), BitArraySetBit(), BitArrayZero(), CommandIdIsCurrentCommandId(), ItemPointerFormGeneralInsertIndexResult(), ItemPointerFormGeneralRetrieveIndexResult(), ItemPointerFormInsertIndexResult(), ItemPointerFormRetrieveIndexResult(), RelationGetStrategy(), RelationInvokeStrategy(), StrategyEvaluationIsValid(), StrategyExpressionIsValid(), StrategyOperatorIsValid(), StrategyTermIsValid(), TransactionIdDidAbort(), TransactionIdDidCommit(), TransactionIdGetCommitTime(), TransactionIdIsCurrentTransactionId(), TransactionIdIsInProgress(), relpath(); extern LocalInvalidRegister(), RegisterInvalid(), RelationInvalidateCatalogCacheTuple(), RelationInvalidateHeapTuple(); extern prs2StubQualIsEqual(), prs2StubToString(), prs2StringToStub(), prs2RawStubToStub(), prs2StubToRawStub(), prs2OneStubIsEqual(), prs2SearchStub(), prs2AddOneStub(), prs2DeleteOneStub(), prs2MakeStub(), prs2MakeOneStub(), prs2FreeStub(), prs2RemoveStubsOfRule(), prs2FreeLocks(), prs2MakeLocks(), prs2AddLock(), prs2GetOneLockFromLocks(), prs2OneLocksAreTheSame(), prs2OneLockIsMemberOfLocks(), prs2GetLocksFromTuple(), prs2PutLocksInTuple(), prs2PrintLocks(), prs2CopyLocks(), prs2RemoveOneLockInPlace(), prs2RemoveAllLocksOfRuleInPlace(), prs2RemoveAllLocksOfRule(), prs2LockUnion(), prs2LockDifference(), prs2FindLocksOfType(), prs2RemoveLocksOfTypeInPlace(); extern FetchDefault(), HeapTupleGetAttributeValue(), HeapTupleGetRuleLock(), HeapTupleSetRuleLock(), HeapTupleStoreRuleLock(), RelationContainsUsableBlock(), SearchSysCache(), SearchSysCacheGetAttribute(), SearchSysCacheStruct(), SearchSysCacheTuple(), SetHeapAccessMethodImmediateInvalidation(), SetRefreshWhenInvalidate(), getstruct(), newoid(); extern AmiTransactionOverride(), DefaultBuild(), GetHeapTuple(), IndexScanEnd(), IndexScanGetGeneralRetrieveIndexResult(), IndexScanGetRetrieveIndexResult(), IndexScanMarkPosition(), IndexScanRestart(), IndexScanRestorePosition(), IndexTupleGetAttributeValue(), IndexTupleGetIndexAttributeBitMap(), RelationGetIndexScan(), getattnvals(), gethilokey(); extern CAtom(), CDouble(), CInteger(), CString(), LispDelete(), LispUnion(), append(), append1(), apply(), equal(), evalList(), every_func(), find(), last(), last_element(), length(), lispArray(), lispAssoc(), lispAtom(), lispCons(), lispDisplay(), lispDottedPair(), lispFloat(), lispInteger(), lispList(), lispString(), lispVectori(), mapcar(), max(), member(), nappend1(), nconc(), nreverse(), nthCdr(), push(), quote(), LispRemove(), remove_duplicates(), rplaca(), rplacd(), same(), setf(), some(); extern MakeAppend(), MakeAppendState(), MakeCInfo(), MakeCommonState(), MakeConst(), MakeEState(), MakeExistential(), MakeExpr(), MakeExprContext(), MakeFunc(), MakeHInfo(), MakeHash(), MakeHashJoin(), MakeHashPath(), MakeIndexPath(), MakeIndexScan(), MakeJInfo(), MakeJoin(), MakeJoinKey(), MakeJoinMethod(), MakeJoinPath(), MakeMInfo(), MakeMergeJoinState(), MakeMergeOrder(), MakeMergePath(), MakeMergeJoin(), MakeNestLoop(), MakeNestLoopState(), MakeOper(), MakeOrderKey(), MakeParam(), MakePath(), MakePlan(), MakeQueryDesc(), MakeRangeTableEntry(), MakeRel(), MakeResdom(), MakeResult(), MakeResultState(), MakeRoot(), /* MakeRuleLock(), */ /* MakeRuleLockIntermediate(), */ /* MakeRuleLockIntermediateLock(), */ MakeScan(), MakeScanState(), MakeSeqScan(), MakeSort(), MakeSortKey(), MakeSortState(), MakeCommonScanState(), MakeTLE(), MakeTemp(), MakeTimeRange(), MakeVar(), ModifyQueryTree(), ScanKeywordLookup(), StripRangeTable(), VarnoGetRelname(), add_clause_to_rels(), add_join_clause_info_to_rels(), add_pathlist(), /* add_read_locks(), */ add_tl_element(), add_vars_to_rels(), and_clause(), att_typeid(), /* authnone_create(), */ best_innerjoin(), best_or_subclause_index(), best_or_subclause_indices(), better_path(), cheaper_path(), clause_args(), clause_head(), clause_relids_vars(), clause_subclauses(), clause_type(), /* clntudp_bufcreate(), */ /* clntudp_create(), */ cnfify(), collect(), collect_index_pathkeys(), comphash(), compute_attribute_width(), compute_clause_selec(), compute_joinrel_size(), compute_rel_size(), compute_rel_width(), compute_selec(), compute_targetlist_width(), constant_p(), contains_not(), convtypeinfo(), copy_seq_tree(), copy_vars(), cost_hash(), cost_hashjoin(), cost_index(), cost_mergesort(), cost_nestloop(), cost_result(), cost_seqscan(), cost_sort(), create_hashjoin_node(), create_hashjoin_path(), create_index_path(), create_index_paths(), create_indexscan_node(), create_join_node(), create_mergejoin_node(), create_mergesort_path(), create_nestloop_node(), create_nestloop_path(), create_or_index_paths(), create_plan(), create_scan_node(), create_seqscan_node(), create_seqscan_path(), create_tl_element(), distribute_args(), find_all_inheritors(), find_all_join_paths(), /* find_all_vars(), */ find_clause_joins(), find_clauseless_joins(), find_if(), find_if_not(), find_index_paths(), find_inheritance_children(), find_join_paths(), find_join_rels(), find_joininfo_node(), find_nots(), find_paths(), /* find_qual_update_vars(), */ find_rel_paths(), find_relation_indices(), find_secondary_index(), /* find_tlist_read_vars(), */ find_version_parents(), first_matching_rt_entry(), fix_indxqual_references(), fix_opid(), fix_opids(), fix_parsetree_attnums(), fix_rangetable(), fix_targetlist(), flatten_tlist(), flatten_tlist_vars(), /* get_BkwdMarkPos(), */ /* get_Flag(), */ /* get_FrwdMarkPos(), */ /* get_ISortopO(), */ /* get_IndexPtr(), */ /* get_Keys(), */ /* get_Loop(), */ /* get_OSortopI(), */ /* get_OldRelId(), */ /* get_OuterTuple(), */ /* get_PortalFlag(), */ /* get_ProcLeftFlag(), */ /* get_RuleDesc(), */ /* get_RuleFlag(), */ /* get_SatState(), */ /* get_ScanType(), */ /* get_Skeys(), */ /* get_SkeysCount(), */ /* get_TupType(), */ /* get_TupValue(), */ get_actual_clauses(), get_actual_tlist(), get_andclauseargs(), /* get_arkFlag(), */ get_attname(), get_attnum(), get_atttype(), get_commutator(), /* get_currentRelation(), */ /* get_currentScanDesc(), */ /* get_direction(), */ get_entry(), /* get_error_message(), */ get_expr(), get_funcargs(), get_function(), get_id_type(), /* get_initialized(), */ get_joinlist(), get_joinvar(), get_joinvars(), get_leftop(), /* get_locks(), */ get_negator(), get_notclausearg(), /* get_nplans(), */ get_op(), get_opargs(), get_opcode(), get_opnos(), get_oprjoin(), get_oprrest(), get_orclauseargs(), get_rel(), get_rel_name(), get_relattval(), get_relattvals(), get_relnatts(), get_relsatts(), get_resdom(), get_rightop(), get_typbyval(), get_typdefault(), get_typlen(), group_clauses_by_hashop(), group_clauses_by_indexkey(), group_clauses_by_order(), index(), index_info(), index_innerjoin(), index_outerjoin_references(), index_selectivity(), indexable_joinclauses(), initialize_join_clause_info(), initialize_qualification(), initialize_targetlist(), is_clause(), is_funcclause(), is_null(), is_opclause(), #ifdef sun isinf(), #endif join_clause_p(), join_p(), join_references(), join_selectivity(), joininfo_member(), joinmethod_clauses(), joinmethod_keys(), make_andclause(), make_append(), make_clause(), make_const(), make_existential(), make_funcclause(), make_hash(), make_hashjoin(), make_indexscan(), make_nestloop(), make_notclause(), make_op(), make_opclause(), make_orclause(), /* make_parameterized_plans(), */ make_result(), /* make_rule_lock(), */ /* make_rule_locks(), */ /* make_rule_plans(), */ make_seqscan(), make_temp(), make_var(), left_oper(), match_clause_to_indexkey(), match_hashop_hashinfo(), match_index_orclause(), match_index_orclauses(), match_indexkey_operand(), match_order_mergeinfo(), match_pathkey_joinkeys(), match_pathkeys_joinkeys(), match_paths_joinkeys(), match_sortkeys_pathkeys(), match_unsorted_inner(), match_unsorted_outer(), match_varid(), matching2_tlvar(), /* matching_rule_locks(), */ matching_tlvar(), mergesortop(), new_filestr(), new_join_pathkey(), new_join_pathkeys(), new_join_tlist(), new_joininfo_list(), new_level_qual(), new_level_tlist(), new_matching_subkeys(), new_rangetable_entry(), new_relation_targetlist(), new_result_qual(), new_result_tlist(), new_unsorted_tlist(), /* no_var_read_locks_yet(), */ non_null(), normalize(), /* normalize_attnos(), */ not_clause(), number_list(), numlevels(), op_class(), op_hashjoinable(), op_mergesortable(), oper(), oprid(), or_clause(), or_normalize(), other_join_clause_var(), outstr(), /* parameterize(), */ plan_p(), plan_union_queries(), plan_union_query(), preprocess_qualification(), preprocess_targetlist(), /* process_rules(), */ product_selec(), prune_joinrel(), prune_joinrels(), prune_rel_path(), prune_rel_paths(), pull_ands(), pull_args(), pull_constant_clauses(), pull_ors(), pull_relation_level_clauses(), pull_var_clause(), push_nots(), qual_clause_p(), qualcleanup(), query_planner(), /* read_decorate(), */ rel_member(), relation_info(), relation_level_clause_p(), relation_sortkeys(), remove_ands(), /* remove_duplicate_vars(), */ replace_clause_joinvar_refs(), replace_clause_resultvar_refs(), replace_joinvar_refs(), replace_matching_resname(), replace_opid(), replace_resultvar_refs(), replace_subclause_joinvar_refs(), replace_subclause_resultvar_refs(), restore_globals(), restriction_selectivity(), right_oper(), samekeys(), save_globals(), scan_p(), set_cheapest(), set_clause_selectivities(), set_difference(), set_entry(), set_join_tlist_references(), set_joinlist(), set_lefttree(), set_rest_relselec(), set_rest_selec(), set_righttree(), set_temp_tlist_operators(), set_temp_tlist_references(), set_tempscan_tlist_references(), set_tlist_references(), single_node(), sort(), sort_argv(), sort_inner_and_outer(), sort_level_result(), sort_list_car(), sort_relation_paths(), subplanner(), subst_rangetable(), switch_outer(), targetlist_resdom_numbers(), tbyvalue(), tname(), translate_relid(), tlist_member(), tlist_temp_references(), tlistentry_member(), type(), typeid(), update_clauses(), update_relations(), v1prot_dofirst(), v1prot_donext(), valid_numkeys(), valid_or_clause(), valid_sortkeys(), var_equal(), var_is_inner(), var_is_mat(), var_is_outer(), var_is_rel(); extern DefineFunction(), DefineIndex(), DefineOperator(), DefineRelation(), DefineType(), RemoveFunction(), RemoveIndex(), RemoveOperator(), RemoveRelation(), RemoveType(); extern ExecMain(), ExecutePlan(), ProcessQuery(), ProcessUtility(), parser(), planner(); /* * for c function access to attributes of tuple arguments */ extern GetAttributeByName(); extern GetAttributeByNum(); /* * BSD UNIX external functions */ extern accept(), bind(), chdir(), close(), connect(), dup(), fcntl(), flock(), fork(), fstat(), fsync(), getdtablesize(), geteuid(), getuid(), ioctl(), kill(), listen(), lseek(), open(), read(), rename(), select(), semctl(), semget(), semop(), sendto(), shmat(), shmctl(), shmdt(), shmget(), socket(), stat(), /*syscall(),*/ umask(), unlink(), write(), writev(); /* * LIBC math external functions */ extern dexp(), #ifdef sun #ifndef NO_DMINUS dminus(), #endif #endif dround(), dsqrt(), dtrunc(), #ifdef sparc exp(),fabs(),floor(),log(),log10(),pow(),sqrt(),atof(), #endif #if defined(mips) || defined(sparc) #ifndef sprite rint(), #endif /* !sprite */ #endif dpow(); /* * LIBC external data variables */ extern environ, errno, sys_nerr; /* * LIBC non-math external functions */ extern #ifndef NO_ALLOCA alloca(), #endif atoi(), atol(), bcmp(), bcopy(), bzero(), calloc(), ecvt(), endhostent(), endpwent(), endservent(), fflush(), #ifdef sun fgetpwent(), #endif fgets(), fclose(), fcvt(), fdopen(), fopen(), fprintf(), fputs(), fread(), /* free(), */ freopen(), fscanf(), fseek(), gcvt(), getenv(), gethostbyaddr(), gethostbyname(), /* gethostent(),*/ getpagesize(), getpid(), getpwent(), getpwnam(), getpwuid(), gets(), getservbyname(), getservbyport(), getservent(), getsockname(), gettimeofday(), htons(), isatty(), /* malloc(), */ #ifdef sun memalign(), #endif /*memccpy(),*/ memchr(), memcpy(), memset(), perror(), printf(), puts(), qsort(), random(), realloc(), rewind(), scanf(), setbuf(), setstate(), sethostent(), _setjmp(), setjmp(), setpwent(), setreuid(), setservent(), setuid(), sleep(), sprintf(), srandom(), sscanf(), strcat(), strchr(), strcmp(), strcpy(), strlen(), strncmp(), strncpy(), strtol(), sys_errlist(), time(), ungetc() /*, valloc()*/; /* * ExtSyms -- * Externally visible symbol list. */ FList ExtSyms[] = { C_SYMBOLS, BUF_SYMBOLS, BUFMGR_SYMBOLS, BUFPAGE_SYMBOLS, CATNAME_SYMBOLS, EXC_SYMBOLS, EXCID_SYMBOLS, FD_SYMBOLS, GLOBALS_SYMBOLS, ITEMPTR_SYMBOLS, NAME_SYMBOLS, PALLOC_SYMBOLS, PART_SYMBOLS, PMOD_SYMBOLS, REL_SYMBOLS, /* RLOCK_SYMBOLS, */ SKEY_SYMBOLS, TIM_SYMBOLS, TQUAL_SYMBOLS, TUPDESC_SYMBOLS, XID_SYMBOLS, /* * Random stuff follows: */ /* COMMUNICATION */ SymbolDecl(pq_getnchar), SymbolDecl(pq_getint), SymbolDecl(pq_getstr), SymbolDecl(pq_putint), SymbolDecl(pq_putnchar), SymbolDecl(pq_putstr), SymbolDecl(pq_getinaddr), SymbolDecl(pq_getinserv), /* GEOMETRIC_TYPES */ SymbolDecl(inter_lb), SymbolDecl(inter_sb), SymbolDecl(inter_sl), SymbolDecl(interpt_sl), SymbolDecl(path_in), SymbolDecl(path_inter), SymbolDecl(path_is_cheaper), SymbolDecl(path_length), SymbolDecl(path_ln), SymbolDecl(path_n_eq), SymbolDecl(path_n_ge), SymbolDecl(path_n_gt), SymbolDecl(path_n_le), SymbolDecl(path_n_lt), SymbolDecl(path_out), SymbolDecl(point_above), SymbolDecl(point_below), SymbolDecl(point_construct), SymbolDecl(point_copy), SymbolDecl(point_distance), SymbolDecl(point_dt), SymbolDecl(point_eq), SymbolDecl(point_horiz), SymbolDecl(point_in), SymbolDecl(point_left), SymbolDecl(point_out), SymbolDecl(point_right), SymbolDecl(point_sl), SymbolDecl(point_slope), SymbolDecl(point_vert), SymbolDecl(pointdist), SymbolDecl(position), /* SYSTEM_TYPES */ SymbolDecl(NumberOfBitsPerByte), SymbolDecl(TimeIsBefore), SymbolDecl(TransactionIdAdd), SymbolDecl(abstimeeq), SymbolDecl(abstimege), SymbolDecl(abstimegt), SymbolDecl(abstimein), SymbolDecl(abstimele), SymbolDecl(abstimelt), SymbolDecl(abstimene), SymbolDecl(abstimeout), SymbolDecl(atof1), SymbolDecl(boolin), SymbolDecl(boolout), SymbolDecl(byteain), SymbolDecl(byteaout), SymbolDecl(char16eq), SymbolDecl(char16in), SymbolDecl(char16ne), SymbolDecl(char16out), SymbolDecl(char16regexeq), SymbolDecl(chardiv), SymbolDecl(chareq), SymbolDecl(charge), SymbolDecl(chargt), SymbolDecl(charin), SymbolDecl(charle), SymbolDecl(charlt), SymbolDecl(charmi), SymbolDecl(charmul), SymbolDecl(charne), SymbolDecl(charout), SymbolDecl(charpl), SymbolDecl(dtin), SymbolDecl(dtof), SymbolDecl(dtout), SymbolDecl(float48div), SymbolDecl(float48eq), SymbolDecl(float48ge), SymbolDecl(float48gt), SymbolDecl(float48le), SymbolDecl(float48lt), SymbolDecl(float48mi), SymbolDecl(float48mul), SymbolDecl(float48ne), SymbolDecl(float48pl), SymbolDecl(float4abs), SymbolDecl(float4div), SymbolDecl(float4eq), SymbolDecl(float4ge), SymbolDecl(float4gt), SymbolDecl(float4in), SymbolDecl(float4inAd), SymbolDecl(float4le), SymbolDecl(float4lt), SymbolDecl(float4mi), SymbolDecl(float4mul), SymbolDecl(float4ne), SymbolDecl(float4out), SymbolDecl(float4outAd), SymbolDecl(float4pl), SymbolDecl(float4um), SymbolDecl(float84div), SymbolDecl(float84eq), SymbolDecl(float84ge), SymbolDecl(float84gt), SymbolDecl(float84le), SymbolDecl(float84lt), SymbolDecl(float84mi), SymbolDecl(float84mul), SymbolDecl(float84ne), SymbolDecl(float84pl), SymbolDecl(float8abs), SymbolDecl(float8div), SymbolDecl(float8eq), SymbolDecl(float8ge), SymbolDecl(float8gt), SymbolDecl(float8in), SymbolDecl(float8inAd), SymbolDecl(float8le), SymbolDecl(float8lt), SymbolDecl(float8mi), SymbolDecl(float8mul), SymbolDecl(float8ne), SymbolDecl(float8out), SymbolDecl(float8outAd), SymbolDecl(float8pl), SymbolDecl(float8um), SymbolDecl(ftoa), SymbolDecl(ftod), SymbolDecl(int28in), SymbolDecl(int28out), SymbolDecl(int2div), SymbolDecl(int2eq), SymbolDecl(int2fac), SymbolDecl(int2ge), SymbolDecl(int2gt), SymbolDecl(int2in), SymbolDecl(int2le), SymbolDecl(int2lt), SymbolDecl(int2mi), SymbolDecl(int2mod), SymbolDecl(int2mul), SymbolDecl(int2ne), SymbolDecl(int2out), SymbolDecl(int2pl), SymbolDecl(int4div), SymbolDecl(int4eq), SymbolDecl(int4fac), SymbolDecl(int4ge), SymbolDecl(int4gt), SymbolDecl(int4in), SymbolDecl(int4le), SymbolDecl(int4lt), SymbolDecl(int4mi), SymbolDecl(int4mod), SymbolDecl(int4mul), SymbolDecl(int4ne), SymbolDecl(int4out), SymbolDecl(int4pl), SymbolDecl(ininterval), SymbolDecl(intervalct), SymbolDecl(intervalend), SymbolDecl(intervaleq), SymbolDecl(intervalleneq), SymbolDecl(intervallenge), SymbolDecl(intervallengt), SymbolDecl(intervallenle), SymbolDecl(intervallenlt), SymbolDecl(intervallenne), SymbolDecl(intervalov), SymbolDecl(intervalrel), SymbolDecl(intervalstart), SymbolDecl(isabstime), SymbolDecl(isreltime), SymbolDecl(istinterval), SymbolDecl(itoa), SymbolDecl(ltoa), SymbolDecl(keyfirsteq), SymbolDecl(oid8in), SymbolDecl(oid8out), SymbolDecl(regprocin), SymbolDecl(regprocout), SymbolDecl(reltimeeq), SymbolDecl(reltimege), SymbolDecl(reltimegt), SymbolDecl(reltimein), SymbolDecl(reltimele), SymbolDecl(reltimelt), SymbolDecl(reltimene), SymbolDecl(reltimeout), SymbolDecl(texteq), SymbolDecl(textin), SymbolDecl(textne), SymbolDecl(textout), SymbolDecl(textregexeq), SymbolDecl(timeinsec), SymbolDecl(timemi), SymbolDecl(timenow), SymbolDecl(timenowout), SymbolDecl(timepl), SymbolDecl(tintervalin), SymbolDecl(tintervalout), SymbolDecl(tlen), SymbolDecl(oidnotin), SymbolDecl(int4notin), SymbolDecl(xideq), SymbolDecl(xidge), SymbolDecl(xidgt), SymbolDecl(xidle), SymbolDecl(xidmi), /* EXCEPTIONAL_CONDITIONS */ SymbolDecl(SetTraceLevel), SymbolDecl(TraceFileName), SymbolDecl(dlog), SymbolDecl(elog), /* NODE_INHERITANCE */ SymbolDecl(NodeIsType), SymbolDecl(NodeTagGetSize), SymbolDecl(SetNodeType), /* SUPPORT_STATUS */ SymbolDecl(BypassEnable), SymbolDecl(GetCurrentCommandId), SymbolDecl(GetCurrentTransactionId), SymbolDecl(GetCurrentTransactionStartTime), SymbolDecl(GetDataHome), SymbolDecl(GetDatabaseName), SymbolDecl(GetDatabasePath), SymbolDecl(GetUserId), SymbolDecl(OverrideTransactionSystem), /* ExternDecl(PostgresDatabase), */ /* ExternDecl(PostgresPath), */ /* MEMORY_MANAGER */ SymbolDecl(CreateGlobalMemory), /* ExternDecl(CurrentMemoryContext), */ SymbolDecl(GlobalMemoryDestroy), SymbolDecl(MemoryContextAlloc), SymbolDecl(MemoryContextFree), SymbolDecl(MemoryContextGetName), SymbolDecl(MemoryContextRealloc), SymbolDecl(MemoryContextSwitchTo), SymbolDecl(PointerGetAllocSize), /* ExternDecl(TopMemoryContext), */ /* BUFFER_MANAGER */ SymbolDecl(PageIndexTupleDelete), SymbolDecl(PageIndexTupleDeleteAdjustLinePointers), SymbolDecl(endpskip), SymbolDecl(pskip), SymbolDecl(startpskip), /* PORTAL */ SymbolDecl(EnablePortalManager), SymbolDecl(GetPortalByName), SymbolDecl(BlankPortalAssignName), SymbolDecl(PortalSetQuery), SymbolDecl(PortalGetQueryDesc), SymbolDecl(PortalGetState), SymbolDecl(PortalDestroy), SymbolDecl(PortalResetHeapMemory), SymbolDecl(StartPortalAllocMode), SymbolDecl(EndPortalAllocMode), SymbolDecl(PortalGetVariableMemory), SymbolDecl(PortalGetHeapMemory), SymbolDecl(PortalVariableMemoryGetPortal), SymbolDecl(PortalHeapMemoryGetPortal), SymbolDecl(PortalVariableMemoryGetHeapMemory), SymbolDecl(PortalHeapMemoryGetVariableMemory), /* STORAGE_MANAGER */ SymbolDecl(AbortCurrentTransaction), SymbolDecl(AttributeGetAttName), SymbolDecl(BitArrayBitIsSet), SymbolDecl(BitArrayClearBit), SymbolDecl(BitArraySetBit), SymbolDecl(BitArrayZero), SymbolDecl(CommandIdIsCurrentCommandId), SymbolDecl(ItemPointerFormGeneralInsertIndexResult), SymbolDecl(ItemPointerFormGeneralRetrieveIndexResult), SymbolDecl(ItemPointerFormInsertIndexResult), SymbolDecl(ItemPointerFormRetrieveIndexResult), SymbolDecl(RelationGetStrategy), SymbolDecl(RelationInvokeStrategy), SymbolDecl(StrategyEvaluationIsValid), SymbolDecl(StrategyExpressionIsValid), SymbolDecl(StrategyOperatorIsValid), SymbolDecl(StrategyTermIsValid), SymbolDecl(TransactionIdDidAbort), SymbolDecl(TransactionIdDidCommit), SymbolDecl(TransactionIdGetCommitTime), SymbolDecl(TransactionIdIncrement), SymbolDecl(TransactionIdIsCurrentTransactionId), SymbolDecl(TransactionIdIsInProgress), SymbolDecl(fmgr), SymbolDecl(relpath), /* LOCK_MANAGER */ SymbolDecl(LRelIdContainsMyDatabaseId), SymbolDecl(LRelIdGetDatabaseId), SymbolDecl(LRelIdGetRelationId), SymbolDecl(LocalInvalidRegister), SymbolDecl(RegisterInvalid), SymbolDecl(RelationGetLRelId), SymbolDecl(RelationInvalidateCatalogCacheTuple), SymbolDecl(RelationInvalidateHeapTuple), SymbolDecl(RelationSetLockForDescriptorOpen), SymbolDecl(RelationSetLockForRead), SymbolDecl(RelationSetLockForReadPage), SymbolDecl(RelationSetLockForTupleRead), SymbolDecl(RelationSetLockForWrite), SymbolDecl(RelationSetLockForWritePage), SymbolDecl(RelationUnsetLockForReadPage), SymbolDecl(RelationUnsetLockForWritePage), /* RULE STUFF */ SymbolDecl(prs2StubQualIsEqual), SymbolDecl(prs2StubToString), SymbolDecl(prs2StringToStub), SymbolDecl(prs2RawStubToStub), SymbolDecl(prs2StubToRawStub), SymbolDecl(prs2OneStubIsEqual), SymbolDecl(prs2SearchStub), SymbolDecl(prs2AddOneStub), SymbolDecl(prs2DeleteOneStub), SymbolDecl(prs2MakeStub), SymbolDecl(prs2MakeOneStub), SymbolDecl(prs2FreeStub), SymbolDecl(prs2RemoveStubsOfRule), SymbolDecl(prs2FreeLocks), SymbolDecl(prs2MakeLocks), SymbolDecl(prs2AddLock), SymbolDecl(prs2GetOneLockFromLocks), SymbolDecl(prs2OneLocksAreTheSame), SymbolDecl(prs2OneLockIsMemberOfLocks), SymbolDecl(prs2GetLocksFromTuple), SymbolDecl(prs2PutLocksInTuple), SymbolDecl(prs2PrintLocks), SymbolDecl(prs2CopyLocks), SymbolDecl(prs2RemoveOneLockInPlace), SymbolDecl(prs2RemoveAllLocksOfRuleInPlace), SymbolDecl(prs2RemoveAllLocksOfRule), SymbolDecl(prs2LockUnion), SymbolDecl(prs2LockDifference), SymbolDecl(prs2FindLocksOfType), SymbolDecl(prs2RemoveLocksOfTypeInPlace), /* HEAP_ACCESS_METHOD */ SymbolDecl(FetchDefault), SymbolDecl(HeapTupleGetRuleLock), SymbolDecl(HeapTupleSetRuleLock), SymbolDecl(HeapTupleStoreRuleLock), SymbolDecl(RelationContainsUsableBlock), SymbolDecl(RelationIdGetRelation), SymbolDecl(SearchSysCache), SymbolDecl(SearchSysCacheGetAttribute), SymbolDecl(SearchSysCacheStruct), SymbolDecl(SearchSysCacheTuple), SymbolDecl(SetHeapAccessMethodImmediateInvalidation), SymbolDecl(SetRefreshWhenInvalidate), SymbolDecl(getstruct), SymbolDecl(newoid), SymbolDecl(setheapoverride), /* ACCESS_METHODS */ SymbolDecl(AmiTransactionOverride), SymbolDecl(DefaultBuild), SymbolDecl(GetHeapTuple), SymbolDecl(IndexScanEnd), SymbolDecl(IndexScanGetGeneralRetrieveIndexResult), SymbolDecl(IndexScanGetRetrieveIndexResult), SymbolDecl(IndexScanMarkPosition), SymbolDecl(IndexScanRestart), SymbolDecl(IndexScanRestorePosition), SymbolDecl(IndexTupleGetAttributeValue), SymbolDecl(RelationGetIndexScan), SymbolDecl(getattnvals), SymbolDecl(gethilokey), SymbolDecl(heapisoverride), /* SPAM_ACCESS_METHOD */ /* XXX omitted ... */ /* BTREE_ACCESS_METHOD */ /* XXX omitted ... */ /* RTREE_ACCESS_METHOD */ /* XXX omitted ... */ /* LISP */ SymbolDecl(CAtom), SymbolDecl(CDouble), SymbolDecl(CInteger), SymbolDecl(CString), SymbolDecl(LispDelete), /* ExternDecl(LispNil), */ SymbolDecl(LispUnion), SymbolDecl(append), SymbolDecl(append1), SymbolDecl(apply), SymbolDecl(equal), SymbolDecl(evalList), SymbolDecl(every_func), SymbolDecl(find), SymbolDecl(last), SymbolDecl(last_element), SymbolDecl(length), SymbolDecl(lispArray), SymbolDecl(lispAssoc), SymbolDecl(lispAtom), SymbolDecl(lispCons), SymbolDecl(lispDisplay), SymbolDecl(lispDottedPair), SymbolDecl(lispFloat), SymbolDecl(lispInteger), SymbolDecl(lispList), SymbolDecl(lispString), SymbolDecl(lispVectori), SymbolDecl(mapcar), SymbolDecl(max), SymbolDecl(member), SymbolDecl(nappend1), SymbolDecl(nconc), SymbolDecl(nreverse), SymbolDecl(nthCdr), SymbolDecl(push), SymbolDecl(quote), SymbolDecl(LispRemove), SymbolDecl(remove_duplicates), SymbolDecl(rplaca), SymbolDecl(rplacd), SymbolDecl(same), SymbolDecl(setf), SymbolDecl(some), /* LISP_STRUCTURES */ SymbolDecl(MakeAppend), SymbolDecl(MakeAppendState), SymbolDecl(MakeCInfo), SymbolDecl(MakeCommonState), SymbolDecl(MakeCommonScanState), SymbolDecl(MakeConst), SymbolDecl(MakeEState), SymbolDecl(MakeExistential), SymbolDecl(MakeExpr), SymbolDecl(MakeExprContext), SymbolDecl(MakeFunc), SymbolDecl(MakeHInfo), SymbolDecl(MakeHash), SymbolDecl(MakeHashJoin), SymbolDecl(MakeHashPath), SymbolDecl(MakeIndexPath), SymbolDecl(MakeIndexScan), SymbolDecl(MakeJInfo), SymbolDecl(MakeJoin), SymbolDecl(MakeJoinKey), SymbolDecl(MakeJoinMethod), SymbolDecl(MakeJoinPath), SymbolDecl(MakeMInfo), SymbolDecl(MakeMergeJoinState), SymbolDecl(MakeMergeOrder), SymbolDecl(MakeMergePath), SymbolDecl(MakeMergeJoin), SymbolDecl(MakeNestLoop), SymbolDecl(MakeNestLoopState), SymbolDecl(MakeOper), SymbolDecl(MakeOrderKey), SymbolDecl(MakeParam), SymbolDecl(MakePath), SymbolDecl(MakePlan), SymbolDecl(MakeQueryDesc), SymbolDecl(MakeRangeTableEntry), SymbolDecl(MakeRel), SymbolDecl(MakeResdom), SymbolDecl(MakeResult), SymbolDecl(MakeResultState), SymbolDecl(MakeRoot), /* SymbolDecl(MakeRuleLock), */ /* SymbolDecl(MakeRuleLockIntermediate), */ /* SymbolDecl(MakeRuleLockIntermediateLock), */ SymbolDecl(MakeScan), SymbolDecl(MakeScanState), SymbolDecl(MakeSeqScan), SymbolDecl(MakeSort), SymbolDecl(MakeSortKey), SymbolDecl(MakeSortState), SymbolDecl(MakeTLE), SymbolDecl(MakeTemp), SymbolDecl(MakeTimeRange), SymbolDecl(MakeVar), SymbolDecl(ModifyQueryTree), SymbolDecl(ScanKeywordLookup), SymbolDecl(StripRangeTable), SymbolDecl(VarnoGetRelname), SymbolDecl(add_clause_to_rels), SymbolDecl(add_join_clause_info_to_rels), SymbolDecl(add_pathlist), /* SymbolDecl(add_read_locks), */ SymbolDecl(add_tl_element), SymbolDecl(add_vars_to_rels), SymbolDecl(and_clause), SymbolDecl(att_typeid), /* ExternDecl(attnum_type), */ /* SymbolDecl(authnone_create), */ SymbolDecl(best_innerjoin), SymbolDecl(best_or_subclause_index), SymbolDecl(best_or_subclause_indices), SymbolDecl(better_path), SymbolDecl(cheaper_path), SymbolDecl(clause_args), SymbolDecl(clause_head), SymbolDecl(clause_relids_vars), SymbolDecl(clause_subclauses), SymbolDecl(clause_type), /* SymbolDecl(clntudp_bufcreate), */ /* SymbolDecl(clntudp_create), */ SymbolDecl(cnfify), /* ExternDecl(codenames), */ SymbolDecl(collect), SymbolDecl(collect_index_pathkeys), SymbolDecl(comphash), SymbolDecl(compute_attribute_width), SymbolDecl(compute_clause_selec), SymbolDecl(compute_joinrel_size), SymbolDecl(compute_rel_size), SymbolDecl(compute_rel_width), SymbolDecl(compute_selec), SymbolDecl(compute_targetlist_width), SymbolDecl(constant_p), SymbolDecl(contains_not), SymbolDecl(convtypeinfo), SymbolDecl(copy_seq_tree), SymbolDecl(copy_vars), SymbolDecl(cost_hash), SymbolDecl(cost_hashjoin), SymbolDecl(cost_index), SymbolDecl(cost_mergesort), SymbolDecl(cost_nestloop), SymbolDecl(cost_result), SymbolDecl(cost_seqscan), SymbolDecl(cost_sort), SymbolDecl(create_hashjoin_node), SymbolDecl(create_hashjoin_path), SymbolDecl(create_index_path), SymbolDecl(create_index_paths), SymbolDecl(create_indexscan_node), SymbolDecl(create_join_node), SymbolDecl(create_mergejoin_node), SymbolDecl(create_mergesort_path), SymbolDecl(create_nestloop_node), SymbolDecl(create_nestloop_path), SymbolDecl(create_or_index_paths), SymbolDecl(create_plan), SymbolDecl(create_scan_node), SymbolDecl(create_seqscan_node), SymbolDecl(create_seqscan_path), SymbolDecl(create_tl_element), SymbolDecl(distribute_args), SymbolDecl(find_all_inheritors), SymbolDecl(find_all_join_paths), /* SymbolDecl(find_all_vars), */ SymbolDecl(find_clause_joins), SymbolDecl(find_clauseless_joins), SymbolDecl(find_if), SymbolDecl(find_if_not), SymbolDecl(find_index_paths), SymbolDecl(find_inheritance_children), SymbolDecl(find_join_paths), SymbolDecl(find_join_rels), SymbolDecl(find_joininfo_node), SymbolDecl(find_nots), SymbolDecl(find_paths), /* SymbolDecl(find_qual_update_vars), */ SymbolDecl(find_rel_paths), SymbolDecl(find_relation_indices), SymbolDecl(find_secondary_index), /* SymbolDecl(find_tlist_read_vars), */ SymbolDecl(find_version_parents), SymbolDecl(first_matching_rt_entry), SymbolDecl(fix_indxqual_references), SymbolDecl(fix_opid), SymbolDecl(fix_opids), SymbolDecl(fix_parsetree_attnums), SymbolDecl(fix_rangetable), SymbolDecl(fix_targetlist), SymbolDecl(flatten_tlist), SymbolDecl(flatten_tlist_vars), SymbolDecl(group_clauses_by_hashop), SymbolDecl(group_clauses_by_indexkey), SymbolDecl(group_clauses_by_order), SymbolDecl(index), SymbolDecl(index_info), SymbolDecl(index_innerjoin), SymbolDecl(index_outerjoin_references), SymbolDecl(index_selectivity), SymbolDecl(indexable_joinclauses), SymbolDecl(initialize_join_clause_info), SymbolDecl(initialize_qualification), SymbolDecl(initialize_targetlist), SymbolDecl(is_clause), SymbolDecl(is_funcclause), SymbolDecl(is_null), SymbolDecl(is_opclause), #ifdef sun SymbolDecl(isinf), #endif SymbolDecl(join_clause_p), SymbolDecl(join_p), SymbolDecl(join_references), SymbolDecl(join_selectivity), SymbolDecl(joininfo_member), SymbolDecl(joinmethod_clauses), SymbolDecl(joinmethod_keys), SymbolDecl(make_andclause), SymbolDecl(make_append), SymbolDecl(make_clause), SymbolDecl(make_const), SymbolDecl(make_existential), SymbolDecl(make_funcclause), SymbolDecl(make_hash), SymbolDecl(make_hashjoin), SymbolDecl(make_indexscan), SymbolDecl(make_nestloop), SymbolDecl(make_notclause), SymbolDecl(make_op), SymbolDecl(make_opclause), SymbolDecl(make_orclause), /* SymbolDecl(make_parameterized_plans), */ SymbolDecl(make_result), /* SymbolDecl(make_rule_lock), */ /* SymbolDecl(make_rule_locks), */ /* SymbolDecl(make_rule_plans), */ SymbolDecl(make_seqscan), SymbolDecl(make_temp), SymbolDecl(make_var), SymbolDecl(left_oper), SymbolDecl(match_clause_to_indexkey), SymbolDecl(match_hashop_hashinfo), SymbolDecl(match_index_orclause), SymbolDecl(match_index_orclauses), SymbolDecl(match_indexkey_operand), SymbolDecl(match_order_mergeinfo), SymbolDecl(match_pathkey_joinkeys), SymbolDecl(match_pathkeys_joinkeys), SymbolDecl(match_paths_joinkeys), SymbolDecl(match_sortkeys_pathkeys), SymbolDecl(match_unsorted_inner), SymbolDecl(match_unsorted_outer), SymbolDecl(match_varid), SymbolDecl(matching2_tlvar), /* SymbolDecl(matching_rule_locks), */ SymbolDecl(matching_tlvar), SymbolDecl(mergesortop), SymbolDecl(new_filestr), SymbolDecl(new_join_pathkey), SymbolDecl(new_join_pathkeys), SymbolDecl(new_join_tlist), SymbolDecl(new_joininfo_list), SymbolDecl(new_level_qual), SymbolDecl(new_level_tlist), SymbolDecl(new_matching_subkeys), SymbolDecl(new_rangetable_entry), SymbolDecl(new_relation_targetlist), SymbolDecl(new_result_qual), SymbolDecl(new_result_tlist), SymbolDecl(new_unsorted_tlist), /* SymbolDecl(no_var_read_locks_yet), */ SymbolDecl(non_null), SymbolDecl(normalize), /* SymbolDecl(normalize_attnos), */ SymbolDecl(not_clause), SymbolDecl(number_list), SymbolDecl(numlevels), SymbolDecl(op_class), SymbolDecl(op_hashjoinable), SymbolDecl(op_mergesortable), SymbolDecl(oper), SymbolDecl(oprid), SymbolDecl(or_clause), SymbolDecl(or_normalize), SymbolDecl(other_join_clause_var), SymbolDecl(outstr), /* ExternDecl(override), */ /* SymbolDecl(parameterize), */ SymbolDecl(plan_p), SymbolDecl(plan_union_queries), SymbolDecl(plan_union_query), SymbolDecl(preprocess_qualification), SymbolDecl(preprocess_targetlist), /* SymbolDecl(process_rules), */ SymbolDecl(product_selec), SymbolDecl(prune_joinrel), SymbolDecl(prune_joinrels), SymbolDecl(prune_rel_path), SymbolDecl(prune_rel_paths), SymbolDecl(pull_ands), SymbolDecl(pull_args), SymbolDecl(pull_constant_clauses), SymbolDecl(pull_ors), SymbolDecl(pull_relation_level_clauses), SymbolDecl(pull_var_clause), SymbolDecl(push_nots), SymbolDecl(qual_clause_p), SymbolDecl(qualcleanup), SymbolDecl(query_planner), /* SymbolDecl(read_decorate), */ SymbolDecl(rel_member), SymbolDecl(relation_info), SymbolDecl(relation_level_clause_p), SymbolDecl(relation_sortkeys), SymbolDecl(remove_ands), /* SymbolDecl(remove_duplicate_vars), */ SymbolDecl(replace_clause_joinvar_refs), SymbolDecl(replace_clause_resultvar_refs), SymbolDecl(replace_joinvar_refs), SymbolDecl(replace_matching_resname), SymbolDecl(replace_opid), SymbolDecl(replace_resultvar_refs), SymbolDecl(replace_subclause_joinvar_refs), SymbolDecl(replace_subclause_resultvar_refs), SymbolDecl(restore_globals), SymbolDecl(restriction_selectivity), SymbolDecl(right_oper), SymbolDecl(samekeys), SymbolDecl(save_globals), SymbolDecl(scan_p), SymbolDecl(single_node), SymbolDecl(sort), SymbolDecl(sort_argv), SymbolDecl(sort_inner_and_outer), SymbolDecl(sort_level_result), SymbolDecl(sort_list_car), SymbolDecl(sort_relation_paths), SymbolDecl(subplanner), SymbolDecl(subst_rangetable), SymbolDecl(switch_outer), SymbolDecl(targetlist_resdom_numbers), SymbolDecl(tbyvalue), SymbolDecl(tname), SymbolDecl(translate_relid), SymbolDecl(tlist_member), SymbolDecl(tlist_temp_references), SymbolDecl(tlistentry_member), SymbolDecl(type), SymbolDecl(typeid), SymbolDecl(update_clauses), SymbolDecl(update_relations), #ifndef sprite SymbolDecl(v1prot_dofirst), SymbolDecl(v1prot_donext), #endif /* !sprite */ SymbolDecl(valid_numkeys), SymbolDecl(valid_or_clause), SymbolDecl(valid_sortkeys), SymbolDecl(var_equal), SymbolDecl(var_is_inner), SymbolDecl(var_is_mat), SymbolDecl(var_is_nested), SymbolDecl(var_is_outer), SymbolDecl(var_is_rel), /* UTILITIES */ SymbolDecl(DefineFunction), SymbolDecl(DefineIndex), SymbolDecl(DefineOperator), SymbolDecl(DefineRelation), SymbolDecl(DefineType), SymbolDecl(RemoveFunction), SymbolDecl(RemoveIndex), SymbolDecl(RemoveOperator), SymbolDecl(RemoveRelation), SymbolDecl(RemoveType), /* MODULES */ SymbolDecl(ExecMain), SymbolDecl(ExecutePlan), SymbolDecl(ProcessQuery), SymbolDecl(ProcessUtility), SymbolDecl(parser), SymbolDecl(planner), SymbolDecl(GetAttributeByName), SymbolDecl(GetAttributeByNum), /* * Special defines: * * YOU_LOSE * Usage of this must be restricted by POSTGRES. * * YOU_WIN * Usage of this is strongly discourage but is allowed. * * Note: * These defines are only partially listed. */ /* SECTION2 */ SymbolDecl(accept), SymbolDecl(bind), SymbolDecl(chdir), SymbolDecl(close), SymbolDecl(connect), SymbolDecl(dup), SymbolDecl(fcntl), SymbolDecl(flock), SymbolDecl(fork), SymbolDecl(fstat), SymbolDecl(fsync), SymbolDecl(getdtablesize), SymbolDecl(geteuid), SymbolDecl(getuid), SymbolDecl(ioctl), SymbolDecl(kill), SymbolDecl(listen), SymbolDecl(lseek), SymbolDecl(open), SymbolDecl(read), SymbolDecl(rename), SymbolDecl(select), SymbolDecl(semctl), SymbolDecl(semget), SymbolDecl(semop), SymbolDecl(sendto), SymbolDecl(shmat), SymbolDecl(shmctl), SymbolDecl(shmdt), SymbolDecl(shmget), #ifdef YOU_LOSE SymbolDecl(sigblock), SymbolDecl(sigpause), SymbolDecl(sigsetmask), SymbolDecl(sigvec), #endif SymbolDecl(socket), SymbolDecl(stat), /* SymbolDecl(syscall), */ SymbolDecl(umask), SymbolDecl(unlink), SymbolDecl(write), SymbolDecl(writev), /* SECTION3M */ SymbolDecl(dexp), #ifdef sun #ifndef NO_DMINUS SymbolDecl(dminus), #endif #endif SymbolDecl(dpow), SymbolDecl(dround), SymbolDecl(dsqrt), SymbolDecl(dtrunc), #ifndef sprite SymbolDecl(exp), SymbolDecl(fabs), SymbolDecl(floor), SymbolDecl(log), SymbolDecl(log10), SymbolDecl(pow), #ifndef sequent SymbolDecl(rint), #endif SymbolDecl(sqrt), #endif /* !sprite */ /* SECTION3 */ #ifndef NO_ALLOCA SymbolDecl(alloca), #endif #ifndef sprite SymbolDecl(atof), #endif /* !sprite */ SymbolDecl(atoi), SymbolDecl(atol), SymbolDecl(bcmp), SymbolDecl(bcopy), SymbolDecl(bzero), #ifndef YOU_WIN SymbolDecl(calloc), #endif SymbolDecl(ecvt), SymbolDecl(endhostent), SymbolDecl(endpwent), SymbolDecl(endservent), #ifdef YOU_LOSE SymbolDecl(_exit), SymbolDecl(exit), #endif SymbolDecl(fclose), SymbolDecl(fcvt), SymbolDecl(fdopen), SymbolDecl(fflush), #ifdef sun SymbolDecl(fgetpwent), #endif SymbolDecl(fgets), SymbolDecl(fopen), SymbolDecl(fprintf), SymbolDecl(fputs), SymbolDecl(fread), #ifndef YOU_WIN SymbolDecl(free), #endif SymbolDecl(freopen), SymbolDecl(fscanf), SymbolDecl(fseek), SymbolDecl(gcvt), SymbolDecl(getenv), SymbolDecl(gethostbyaddr), SymbolDecl(gethostbyname), /* SymbolDecl(gethostent), */ SymbolDecl(getpagesize), SymbolDecl(getpid), SymbolDecl(getpwent), SymbolDecl(getpwnam), SymbolDecl(getpwuid), SymbolDecl(gets), SymbolDecl(getservbyname), SymbolDecl(getservbyport), SymbolDecl(getservent), SymbolDecl(getsockname), SymbolDecl(gettimeofday), SymbolDecl(htons), SymbolDecl(isatty), #ifdef YOU_LOSE SymbolDecl(_longjmp), SymbolDecl(longjmp), #endif #ifdef sun SymbolDecl(memalign), #endif /* SymbolDecl(memccpy), */ SymbolDecl(memchr), SymbolDecl(memcpy), SymbolDecl(memset), SymbolDecl(perror), SymbolDecl(printf), SymbolDecl(puts), SymbolDecl(qsort), SymbolDecl(random), #ifndef YOU_WIN SymbolDecl(realloc), #endif SymbolDecl(rewind), SymbolDecl(scanf), SymbolDecl(setbuf), SymbolDecl(setstate), SymbolDecl(sethostent), #ifdef YOU_LOSE SymbolDecl(_setjmp), SymbolDecl(setjmp), #endif SymbolDecl(setpwent), SymbolDecl(setreuid), SymbolDecl(setservent), SymbolDecl(setuid), #ifdef YOU_LOSE SymbolDecl(signal), #endif SymbolDecl(sleep), SymbolDecl(sprintf), SymbolDecl(srandom), SymbolDecl(sscanf), SymbolDecl(strcat), SymbolDecl(strchr), SymbolDecl(strcmp), SymbolDecl(strcpy), SymbolDecl(strlen), SymbolDecl(strncmp), SymbolDecl(strncpy), SymbolDecl(strtol), SymbolDecl(sys_errlist), SymbolDecl(time), SymbolDecl(ungetc), /* not YOU_WIN */ /* SymbolDecl(valloc), */ NULL, NULL }; #ifdef sun #ifndef sparc asm(" .data"); asm(" .even"); asm(" .globl _SunSyms"); asm("_SunSyms:"); asm(" .long Fcmpd"); asm(" .data2"); asm("L35:"); asm(" .ascii \"Fcmpd\\0\""); asm(" .data"); asm(" .long L35"); asm(" .long 0"); asm(" .long 0"); #endif #endif @ 1.38 log @fixes for arrays, array refs, and nested dots @ text @d27 1 a27 1 RcsId("$Header: /private/mao/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.37 1992/07/03 19:04:09 mer Exp mao $"); a694 5 /* get_owner(), */ /* get_qualification_tuple(), */ /* get_qualification_tuple_id(), */ /* get_range_table(), */ get_regproc(), a696 1 /* get_relation_relation_descriptor(), */ a701 2 /* get_result_relation_descriptor(), */ /* get_result_relation_index(), */ a702 3 /* get_rtentries(), */ /* get_subplan_info(), */ /* get_time(), */ a705 1 /* get_whichplan(), */ @ 1.37 log @replace GetAttribute with new tuple accessing routines @ text @d27 1 a27 1 RcsId("$Header: /private/mer/pg/src/port/dec/RCS/dynamic_syms.c,v 1.36 1992/04/01 01:46:08 mer Exp mer $"); a582 1 consider_vararrayindex(), a783 1 nested_clause_p(), a842 1 replace_clause_nestvar_refs(), a845 1 replace_nestvar_refs(), a848 1 replace_subclause_nestvar_refs(), a855 22 /* set_BkwdMarkPos(), */ /* set_Flag(), */ /* set_FrwdMarkPos(), */ /* set_ISortopO(), */ /* set_IndexPtr(), */ /* set_Keys(), */ /* set_Level(), */ /* set_Loop(), */ /* set_OSortopI(), */ /* set_OldRelId(), */ /* set_OuterTuple(), */ /* set_PortalFlag(), */ /* set_ProcLeftFlag(), */ /* set_RuleDesc(), */ /* set_RuleFlag(), */ /* set_SatState(), */ /* set_ScanType(), */ /* set_Skeys(), */ /* set_SkeysCount(), */ /* set_TupType(), */ /* set_TupValue(), */ /* set_arkFlag(), */ a857 2 /* set_currentRelation(), */ /* set_currentScanDesc(), */ a858 1 /* set_direction(), */ a859 2 /* set_error_message(), */ /* set_initialized(), */ a862 7 /* set_locks(), */ /* set_nplans(), */ /* set_owner(), */ /* set_qualification_tuple(), */ /* set_qualification_tuple_id(), */ /* set_range_table(), */ /* set_relation_relation_descriptor(), */ a864 2 /* set_result_relation_descriptor(), */ /* set_result_relation_index(), */ a865 2 /* set_rtentries(), */ /* set_subplan_info(), */ a868 1 /* set_time(), */ a869 1 /* set_whichplan(), */ a890 1 #ifndef sprite a892 1 #endif /* !sprite */ a898 1 var_is_nested(), a1559 1 SymbolDecl(consider_vararrayindex), a1685 1 SymbolDecl(nested_clause_p), a1745 1 SymbolDecl(replace_clause_nestvar_refs), a1748 1 SymbolDecl(replace_nestvar_refs), a1751 1 SymbolDecl(replace_subclause_nestvar_refs), @ 1.36 log @no more accessor functions @ text @d27 1 a27 1 RcsId("$Header: /u/mer/pg.opt/src/port/dec/RCS/dynamic_syms.c,v 1.35 1992/02/28 05:32:20 mao Exp mer $"); d968 5 a972 1 /* GetAttribute for tuple functions */ a973 2 extern GetAttribute(); d1867 3 a1869 1 SymbolDecl(GetAttribute), @ 1.35 log @remove localtime, gmtime, asctime -- cc dies if these are in @ text @d27 1 a27 1 RcsId("$Header: /users/mao/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.34 1992/01/02 16:37:54 glass Exp mao $"); a648 1 get_Level(), a664 1 get_all_rule_locks(), a666 1 get_array_index(), a668 1 get_attribute_number(), a669 6 get_boolvalue(), get_cheapestpath(), get_classlist(), get_clause(), get_clauseinfo(), get_clauses(), a670 5 get_constisnull(), get_constlen(), get_consttype(), get_constvalue(), get_cost(), a673 11 get_ecxt_inner_buffer(), get_ecxt_innertuple(), get_ecxt_innertype(), get_ecxt_outer_buffer(), get_ecxt_outertuple(), get_ecxt_outertype(), get_ecxt_relation(), get_ecxt_relid(), get_ecxt_scan_buffer(), get_ecxt_scantuple(), get_ecxt_scantype(), a676 2 get_exstate(), get_fragment(), a677 2 get_funcid(), get_funcisindex(), a678 6 get_functype(), get_hashclauses(), get_hashjoinable(), get_hashjoinop(), get_hashjoinoperator(), get_hashop(), a679 7 get_indexed(), get_indexid(), get_indexids(), get_indexkeys(), get_indexqual(), get_indxid(), get_indxqual(), a680 11 get_inner(), get_innerPlan(), get_innerhashkeys(), get_innerjoin(), get_innerjoinpath(), get_innersortkeys(), get_jinfoclauseinfo(), get_jmkeys(), get_join_operator(), get_joinid(), get_joininfo(), a683 4 get_keycount(), get_keys(), get_left_operator(), get_left_type(), a684 1 get_lefttree(), a685 5 get_m_ordering(), get_mergeclauses(), get_mergesortable(), get_mergesortop(), get_mergesortorder(), a686 2 get_nlstate(), get_notclause(), a691 1 get_opno(), a692 2 get_oprelationlevel(), get_opresulttype(), a695 8 get_ordering(), get_otherrels(), get_outer(), get_outerPlan(), get_outerhashkeys(), get_outerjoincost(), get_outerjoinpath(), get_outersortkeys(), a696 14 get_p_ordering(), get_pages(), get_paramid(), get_paramname(), get_paramtype(), get_parent(), get_path_cost(), get_path_hashclauses(), get_path_mergeclauses(), get_pathclauseinfo(), get_pathlist(), get_pathtype(), get_qpqual(), get_qptargetlist(), a705 2 get_relid(), get_relids(), a707 1 get_resconstantqual(), a708 8 get_reskey(), get_reskeyop(), get_reslen(), get_resname(), get_resno(), get_resrellevelqual(), get_resstate(), get_restype(), a710 2 get_right_operator(), get_right_type(), a711 1 get_righttree(), a712 9 get_scanrelid(), get_scanstate(), get_selectivity(), get_size(), get_sortkeys(), get_sortorder(), get_pathsortkey(), get_sortstate(), get_state(), a713 2 get_targetlist(), get_tempid(), a714 1 get_tuples(), a717 12 get_unionplans(), get_unionrelid(), get_unionrtentries(), get_unionstate(), get_unorderedpath(), get_vararrayindex(), get_varattno(), get_vardotfields(), get_varid(), get_varkeys(), get_varno(), get_vartype(), a718 1 get_width(), a882 3 set_array_index(), set_attribute_number(), set_boolvalue(), a883 3 set_cheapestpath(), set_classlist(), set_clause(), a884 7 set_clauseinfo(), set_clauses(), set_constisnull(), set_constlen(), set_consttype(), set_constvalue(), set_cost(), a888 11 set_ecxt_inner_buffer(), set_ecxt_innertuple(), set_ecxt_innertype(), set_ecxt_outer_buffer(), set_ecxt_outertuple(), set_ecxt_outertype(), set_ecxt_relation(), set_ecxt_relid(), set_ecxt_scan_buffer(), set_ecxt_scantuple(), set_ecxt_scantype(), a890 17 set_exstate(), set_fragment(), set_funcid(), set_funcisindex(), set_functype(), set_hashclauses(), set_hashjoinable(), set_hashjoinop(), set_hashjoinoperator(), set_hashop(), set_indexed(), set_indexid(), set_indexids(), set_indexkeys(), set_indexqual(), set_indxid(), set_indxqual(), a891 8 set_inner(), set_innerhashkeys(), set_innerjoin(), set_innerjoinpath(), set_innersortkeys(), set_jinfoclauseinfo(), set_jmkeys(), set_join_operator(), a892 2 set_joinid(), set_joininfo(), a893 4 set_keycount(), set_keys(), set_left_operator(), set_left_type(), a894 1 set_lock_planids(), a895 7 set_m_ordering(), set_mergeclauses(), set_mergesortable(), set_mergesortop(), set_mergesortorder(), set_nlstate(), set_notclause(), a896 10 set_opno(), set_oprelationlevel(), set_opresulttype(), set_ordering(), set_otherrels(), set_outer(), set_outerhashkeys(), set_outerjoincost(), set_outerjoinpath(), set_outersortkeys(), a897 14 set_p_ordering(), set_pages(), set_paramid(), set_paramname(), set_paramtype(), set_parent(), set_path_cost(), set_path_hashclauses(), set_path_mergeclauses(), set_pathclauseinfo(), set_pathlist(), set_pathtype(), set_qpqual(), set_qptargetlist(), a901 10 set_relid(), set_relids(), set_resconstantqual(), set_reskey(), set_reskeyop(), set_reslen(), set_resname(), set_resno(), set_resrellevelqual(), set_resstate(), a903 1 set_restype(), a905 2 set_right_operator(), set_right_type(), a907 9 set_scanrelid(), set_scanstate(), set_selectivity(), set_size(), set_sortkeys(), set_sortorder(), set_pathsortkey(), set_sortstate(), set_state(), a908 1 set_targetlist(), a910 1 set_tempid(), a913 13 set_tuples(), set_unionplans(), set_unionrelid(), set_unionrtentries(), set_unionstate(), set_unorderedpath(), set_vararrayindex(), set_varattno(), set_vardotfields(), set_varid(), set_varkeys(), set_varno(), set_vartype(), a914 1 set_width(), @ 1.34 log @dumb solution @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.33 91/12/15 02:01:22 glass Exp Locker: glass $"); a148 1 asctime(), d1282 1 a1282 1 getsockname(), gettimeofday(), gmtime(), htons(), isatty(), localtime(), a1379 1 SymbolDecl(asctime), a2264 1 SymbolDecl(gmtime), a2266 1 SymbolDecl(localtime), @ 1.33 log @fmgr cleanups @ text @d27 1 a27 1 RcsId("$Header: ./port/dec/RCS/dynamic_syms.c,v 1.32 91/11/17 20:47:14 mer Exp Locker: glass $"); d60 1 a380 1 fmgr(), @ 1.32 log @prototyping @ text @d27 1 a27 1 RcsId("$Header: /users/mer/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.31 1991/11/15 16:28:47 hong Exp mer $"); d60 1 a60 1 #include "utils/dynamic_loader.h" @ 1.31 log @for prototyping @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.30 91/11/12 23:23:44 mer Exp Locker: hong $"); d384 1 a384 4 extern LRelIdContainsMyDatabaseId(), LRelIdGetDatabaseId(), LRelIdGetRelationId(), LocalInvalidRegister(), a385 1 RelationGetLRelId(), d387 1 a387 9 RelationInvalidateHeapTuple(), RelationSetLockForDescriptorOpen(), RelationSetLockForRead(), RelationSetLockForReadPage(), RelationSetLockForTupleRead(), RelationSetLockForWrite(), RelationSetLockForWritePage(), RelationUnsetLockForReadPage(), RelationUnsetLockForWritePage(); a425 1 RelationIdGetRelation(), @ 1.30 log @prototype updates, keep tree happy no warns for now @ text @d27 1 a27 1 RcsId("$Header: /users/mer/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.29 1991/11/07 00:25:30 mer Exp mer $"); d838 1 a838 1 get_sortpath(), d1158 1 a1158 1 set_sortpath(), @ 1.29 log @add close declaration to avoid new syntax error on compile @ text @d27 1 a27 1 RcsId("$Header: /users/mer/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.28 1991/10/16 23:16:03 mer Exp $"); d58 1 d312 1 a312 3 extern SetTraceLevel(), TraceFileName(), dlog(), d446 1 a446 2 newoid(), setheapoverride(); d461 1 a461 2 gethilokey(), heapisoverride(); @ 1.28 log @function's name changed (cosmetic) @ text @d27 1 a27 1 RcsId("$Header: /users/mer/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.27 1991/09/08 16:16:36 hong Exp mer $"); d1247 1 a1247 1 extern accept(), bind(), chdir(), connect(), dup(), fcntl(), flock(), @ 1.27 log @to get rid of declarations of old hashing code @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.26 91/08/29 23:54:55 mer Exp Locker: hong $"); d915 1 a915 1 match_clauses_to_indexkey(), d1989 1 a1989 1 SymbolDecl(match_clauses_to_indexkey), @ 1.26 log @purge old lmgr code @ text @d27 1 a27 1 RcsId("$Header: /users/mer/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.25 1991/07/30 00:12:03 mao Exp mer $"); a325 15 extern CreateHashTable(), DefaultHashTableGrow(), HashTableCover(), HashTableDelete(), HashTableDestroy(), HashTableInsert(), HashTableResize(), HashTableUncover(), HashTableWalk(), IntegerHashFunction(), KeyHashTableLookup(), NameHashFunction(), OldIntegerHashFunction(), StringHashFunction(); a1581 16 /* HASH_TABLE */ SymbolDecl(CreateHashTable), SymbolDecl(DefaultHashTableGrow), SymbolDecl(HashTableCover), SymbolDecl(HashTableDelete), SymbolDecl(HashTableDestroy), SymbolDecl(HashTableInsert), SymbolDecl(HashTableResize), SymbolDecl(HashTableUncover), SymbolDecl(HashTableWalk), SymbolDecl(IntegerHashFunction), SymbolDecl(KeyHashTableLookup), SymbolDecl(NameHashFunction), SymbolDecl(OldIntegerHashFunction), SymbolDecl(StringHashFunction), @ 1.25 log @relopen() is gone, replaced by smgropen(). @ text @d20 1 a20 1 * Sparcstation running SunOS 4. Math.h is included in pladt.h d27 1 a27 1 RcsId("$Header: /users/mao/postgres/src/port/dec/RCS/dynamic_syms.c,v 1.24 1991/06/19 01:47:55 cimarron Exp mao $"); d400 1 a400 32 extern DebugErrorIsOn(), DebugErrorOff(), DebugErrorOn(), DebugFileIsOn(), DebugFileOff(), DebugFileOn(), DebugFileOpen(), DebugIsOn(), DebugOff(), DebugOn(), DebugStatisticIsOn(), DebugStatisticOff(), DebugStatisticOn(), DebugStderrIsOn(), DebugStderrOff(), DebugStderrOn(), LMComputeSize(), LMConflictMultiLevelLockTable(), LMConflictPageLockTable(), LMDelLockTableEntry(), LMLock(), LMLockReleaseAll(), LMLockSet(), LMLockTableCreate(), LMLock_PLT(), LMSegmentAttach(), LMSegmentGet(), LMSegmentInit(), LMSegmentKill(), LMSetLockTableEntry(), LMTableInit(), LRelIdContainsMyDatabaseId(), a1679 31 SymbolDecl(DebugErrorIsOn), SymbolDecl(DebugErrorOff), SymbolDecl(DebugErrorOn), SymbolDecl(DebugFileIsOn), SymbolDecl(DebugFileOff), SymbolDecl(DebugFileOn), SymbolDecl(DebugFileOpen), SymbolDecl(DebugIsOn), SymbolDecl(DebugOff), SymbolDecl(DebugOn), SymbolDecl(DebugStatisticIsOn), SymbolDecl(DebugStatisticOff), SymbolDecl(DebugStatisticOn), SymbolDecl(DebugStderrIsOn), SymbolDecl(DebugStderrOff), SymbolDecl(DebugStderrOn), SymbolDecl(LMComputeSize), SymbolDecl(LMConflictMultiLevelLockTable), SymbolDecl(LMConflictPageLockTable), SymbolDecl(LMDelLockTableEntry), SymbolDecl(LMLock), SymbolDecl(LMLockReleaseAll), SymbolDecl(LMLockSet), SymbolDecl(LMLockTableCreate), SymbolDecl(LMLock_PLT), SymbolDecl(LMSegmentAttach), SymbolDecl(LMSegmentGet), SymbolDecl(LMSegmentInit), SymbolDecl(LMSegmentKill), SymbolDecl(LMSetLockTableEntry), SymbolDecl(LMTableInit), @ 1.24 log @removed MakeExistentialState() @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.23 91/06/18 15:42:40 sp Exp Locker: cimarron $"); a396 1 relopen(), a1706 1 SymbolDecl(relopen), @ 1.23 log @added some rule manager routines in the symbol table @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.22 91/05/24 15:33:33 mer Exp Locker: sp $"); a563 1 MakeExistentialState(), a1889 1 SymbolDecl(MakeExistentialState), @ 1.22 log @get rid of obsolete functions @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.21 91/05/01 11:26:35 cimarron Exp Locker: mer $"); d449 30 a478 9 extern RulePlansCatalogExtract(), intermediate_rule_lock(), intermediate_rule_lock_data(), rule_insert_catalog(), rule_lock_attribute(), rule_lock_plan(), rule_lock_relation(), rule_lock_type(), rule_lock_var(); d1762 31 a1792 12 /* RULE_LOCK */ /* SymbolDecl(RuleModifyCatalog), */ /* SymbolDecl(RulePlansCatalogExtract), */ /* SymbolDecl(RulePlansCatalogInsert), */ /* SymbolDecl(intermediate_rule_lock), */ /* SymbolDecl(intermediate_rule_lock_data), */ /* SymbolDecl(rule_insert_catalog), */ /* SymbolDecl(rule_lock_attribute), */ /* SymbolDecl(rule_lock_plan), */ /* SymbolDecl(rule_lock_relation), */ /* SymbolDecl(rule_lock_type), */ /* SymbolDecl(rule_lock_var), */ @ 1.21 log @transaction system now distinguished between user aborts and internal aborts @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.20 91/05/01 02:50:54 cimarron Exp Locker: cimarron $"); a384 3 ItemPointerStackIsEmpty(), ItemPointerStackPop(), ItemPointerStackPush(), a477 1 FormInternalInsertData(), a484 1 IndexTupleFormInsertData(), a486 1 ItemKeysAreEqual(), a1674 3 SymbolDecl(ItemPointerStackIsEmpty), SymbolDecl(ItemPointerStackPop), SymbolDecl(ItemPointerStackPush), a1773 1 SymbolDecl(FormInternalInsertData), a1780 1 SymbolDecl(IndexTupleFormInsertData), a1781 1 SymbolDecl(ItemKeysAreEqual), @ 1.20 log @round II of converting simple functions to macros + code cleaning in general @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.19 91/04/29 03:00:38 cimarron Exp Locker: cimarron $"); a323 3 IsBlockTransactionState(), IsOverrideTransactionState(), OverrideTransactionState(), a389 4 StartTransactionBlock(), StartTransactionCommand(), StartTransactionStateBlock(), StartTransactionStateCommand(), a1611 3 SymbolDecl(IsBlockTransactionState), SymbolDecl(IsOverrideTransactionState), SymbolDecl(OverrideTransactionState), a1685 4 SymbolDecl(StartTransactionBlock), SymbolDecl(StartTransactionCommand), SymbolDecl(StartTransactionStateBlock), SymbolDecl(StartTransactionStateCommand), @ 1.19 log @removed functions now corresponding to macros to correct compilation errors @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.18 91/04/28 09:14:58 cimarron Exp Locker: cimarron $"); a449 1 RelationSetIndexRuleLock(), a469 6 FormHeapTuple(), HeapScanEnd(), HeapScanGetNextTuple(), HeapScanMarkPosition(), HeapScanRestart(), HeapScanRestorePosition(), a473 6 ItemIdHasValidHeapTupleForQualification(), ItemIdSatisfiesScanKey(), ModifyHeapTuple(), ObjectIdOpenHeapRelation(), RelationBeginHeapScan(), RelationCloseHeapRelation(), a474 2 RelationDeleteHeapTuple(), RelationGetHeapTupleByItemPointer(), a475 8 RelationInsertHeapTuple(), RelationNameCreateHeapRelation(), RelationNameCreateIndexRelation(), RelationNameCreateTemporaryRelation(), RelationNameDestroyHeapRelation(), DestroyIndexRelationById(), RelationNameOpenHeapRelation(), RelationReplaceHeapTuple(), a481 1 addtupleheader(), a482 1 keytest(), a487 1 FormIndexTuple(), a488 3 GeneralInsertIndexResultGetItemPointer(), GeneralInsertIndexResultGetRuleLock(), GeneralRetrieveIndexResultGetHeapItemPointer(), a496 1 IndexTupleFree(), a497 1 IndexTupleGetForm(), a498 5 IndexTupleGetRuleLock(), IndexTupleGetRuleLockItemPointer(), InsertIndexResultGetInsertOffset(), InsertIndexResultGetItemPointer(), InsertIndexResultGetRuleLock(), a499 3 ObjectIdOpenIndexRelation(), RelationCloseIndexRelation(), RelationDeleteIndexTuple(), a500 4 RelationInsertIndexTuple(), RetrieveIndexResultGetHeapItemPointer(), RetrieveIndexResultGetIndexItemPointer(), RelationSetIndexItemPointer(), d503 1 a503 2 heapisoverride(), ikeytest(); a1236 1 sysattrlen(), a1356 2 ATTNUM_SYMBOLS, BLOCK_SYMBOLS, a1364 2 HTUP_SYMBOLS, ITEMID_SYMBOLS, a1366 1 OFF_SYMBOLS, a1369 1 POS_SYMBOLS, a1754 1 SymbolDecl(RelationSetIndexRuleLock), a1778 7 SymbolDecl(FormHeapTuple), SymbolDecl(HeapScanEnd), SymbolDecl(HeapScanGetNextTuple), SymbolDecl(HeapScanMarkPosition), SymbolDecl(HeapScanRestart), SymbolDecl(HeapScanRestorePosition), SymbolDecl(HeapTupleGetAttributeValue), a1781 6 SymbolDecl(ItemIdHasValidHeapTupleForQualification), SymbolDecl(ItemIdSatisfiesScanKey), SymbolDecl(ModifyHeapTuple), SymbolDecl(ObjectIdOpenHeapRelation), SymbolDecl(RelationBeginHeapScan), SymbolDecl(RelationCloseHeapRelation), a1782 2 SymbolDecl(RelationDeleteHeapTuple), SymbolDecl(RelationGetHeapTupleByItemPointer), a1783 8 SymbolDecl(RelationInsertHeapTuple), SymbolDecl(RelationNameCreateHeapRelation), SymbolDecl(RelationNameCreateIndexRelation), SymbolDecl(RelationNameCreateTemporaryRelation), SymbolDecl(RelationNameDestroyHeapRelation), SymbolDecl(DestroyIndexRelationById), SymbolDecl(RelationNameOpenHeapRelation), SymbolDecl(RelationReplaceHeapTuple), a1789 1 SymbolDecl(addtupleheader), a1790 1 SymbolDecl(keytest), a1796 1 SymbolDecl(FormIndexTuple), a1797 3 SymbolDecl(GeneralInsertIndexResultGetItemPointer), SymbolDecl(GeneralInsertIndexResultGetRuleLock), SymbolDecl(GeneralRetrieveIndexResultGetHeapItemPointer), a1805 1 SymbolDecl(IndexTupleFree), a1806 7 SymbolDecl(IndexTupleGetForm), SymbolDecl(IndexTupleGetIndexAttributeBitMap), SymbolDecl(IndexTupleGetRuleLock), SymbolDecl(IndexTupleGetRuleLockItemPointer), SymbolDecl(InsertIndexResultGetInsertOffset), SymbolDecl(InsertIndexResultGetItemPointer), SymbolDecl(InsertIndexResultGetRuleLock), a1807 3 SymbolDecl(ObjectIdOpenIndexRelation), SymbolDecl(RelationCloseIndexRelation), SymbolDecl(RelationDeleteIndexTuple), a1808 4 SymbolDecl(RelationInsertIndexTuple), SymbolDecl(RetrieveIndexResultGetHeapItemPointer), SymbolDecl(RetrieveIndexResultGetIndexItemPointer), SymbolDecl(RelationSetIndexItemPointer), a1811 1 SymbolDecl(ikeytest), a2176 1 SymbolDecl(sysattrlen), @ 1.18 log @Converted IsValid code into macros and added an improved NodeIsType scheme @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.17 91/04/11 21:30:52 sp Exp Locker: cimarron $"); d316 1 a316 4 extern NodeGetTag(), NodeHasTag(), NodeIsType(), NodeSetTag(), a317 1 NodeTagIsValid(), a320 1 GetCurrentTime(), a323 1 GetSystemTime(), d371 1 a371 2 extern BufferGetItemMark(), PageIndexTupleDelete(), a383 8 ItemMarkFree(), ItemMarkGetBuffer(), ItemMarkGetBufferPointer(), ItemMarkGetCopiedPointer(), ItemMarkGetItemPointer(), ItemMarkIsForBufferPointer(), ItemMarkIsForCopiedPointer(), ItemMarkIsForItemPointer(), a387 1 ItemPointerGetItemMark(), a390 1 PointerGetItemMark(), a557 3 atom(), consp(), eq(), a561 2 floatp(), integerp(), a573 1 lispNullp(), a575 1 listp(), a582 2 null(), numberp(), d591 1 a591 2 some(), stringp(); a1401 1 ATT_SYMBOLS, a1412 1 ISTRAT_SYMBOLS, a1416 3 OID_SYMBOLS, PAGENUM_SYMBOLS, PAGE_SYMBOLS, a1420 1 REGPROC_SYMBOLS, a1656 2 SymbolDecl(NodeGetTag), SymbolDecl(NodeHasTag), a1657 1 SymbolDecl(NodeSetTag), a1658 1 SymbolDecl(NodeTagIsValid), a1663 1 SymbolDecl(GetCurrentTime), a1668 1 SymbolDecl(GetSystemTime), a1705 1 SymbolDecl(BufferGetItemMark), a1737 8 SymbolDecl(ItemMarkFree), SymbolDecl(ItemMarkGetBuffer), SymbolDecl(ItemMarkGetBufferPointer), SymbolDecl(ItemMarkGetCopiedPointer), SymbolDecl(ItemMarkGetItemPointer), SymbolDecl(ItemMarkIsForBufferPointer), SymbolDecl(ItemMarkIsForCopiedPointer), SymbolDecl(ItemMarkIsForItemPointer), a1741 1 SymbolDecl(ItemPointerGetItemMark), a1744 1 SymbolDecl(PointerGetItemMark), a1929 3 SymbolDecl(atom), SymbolDecl(consp), SymbolDecl(eq), a1933 2 SymbolDecl(floatp), SymbolDecl(integerp), a1945 1 SymbolDecl(lispNullp), a1947 1 SymbolDecl(listp), a1954 2 SymbolDecl(null), SymbolDecl(numberp), a1963 1 SymbolDecl(stringp), @ 1.17 log @some #undefs added to avoid compiler error when PALLOC_DEBUG is defined. @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.16 91/04/10 16:07:42 sp Exp $"); a137 1 TimeIsValid(), a148 1 boolIsValid(), a350 1 PortalIsValid(), a372 1 MemoryContextIsValid(), a398 1 ItemMarkIsValid(), a417 1 StrategyTransformMapIsValid(), a490 1 HeapScanIsValid(), a515 4 ScanDirectionIsBackward(), ScanDirectionIsForward(), ScanDirectionIsNoMovement(), ScanDirectionIsValid(), a533 1 GeneralInsertIndexResultIsValid(), a534 1 GeneralRetrieveIndexResultIsValid(), a538 1 IndexScanIsValid(), a548 1 IndexTupleIsValid(), a551 1 InsertIndexResultIsValid(), a559 1 RetrieveIndexResultIsValid(), a1511 1 SymbolDecl(TimeIsValid), a1522 1 SymbolDecl(boolIsValid), a1738 1 SymbolDecl(MemoryContextIsValid), a1753 1 SymbolDecl(PortalIsValid), a1785 1 SymbolDecl(ItemMarkIsValid), a1804 1 SymbolDecl(StrategyTransformMapIsValid), a1883 1 SymbolDecl(HeapScanIsValid), a1908 4 SymbolDecl(ScanDirectionIsBackward), SymbolDecl(ScanDirectionIsForward), SymbolDecl(ScanDirectionIsNoMovement), SymbolDecl(ScanDirectionIsValid), a1927 1 SymbolDecl(GeneralInsertIndexResultIsValid), a1928 1 SymbolDecl(GeneralRetrieveIndexResultIsValid), a1932 1 SymbolDecl(IndexScanIsValid), a1942 1 SymbolDecl(IndexTupleIsValid), a1945 1 SymbolDecl(InsertIndexResultIsValid), a1953 1 SymbolDecl(RetrieveIndexResultIsValid), @ 1.16 log @removed the symbol declarations for the following obsolete routines: RelationSetHeapRuleLock, RelationRemoveHeapRuleLock and RelationAddHeapRuleLock. @ text @d27 1 a27 1 RcsId("$Header: dec/RCS/dynamic_syms.c,v 1.15 91/04/02 21:37:33 kemnitz Exp Locker: sp $"); d62 1 d65 7 @ 1.15 log @got rid of arrayFmgr() @ text @d27 1 a27 1 RcsId("$Header: dec/RCS/dynamic_syms.c,v 1.14 91/03/19 17:01:40 kemnitz Exp Locker: kemnitz $"); a464 1 RelationSetHeapRuleLock(), a475 1 RelationRemoveHeapRuleLock(), a500 1 RelationAddHeapRuleLock(), a1870 1 SymbolDecl(RelationSetHeapRuleLock), a1884 1 /* SymbolDecl(RelationRemoveHeapRuleLock), */ a1910 1 SymbolDecl(RelationAddHeapRuleLock), @ 1.14 log @got rid of strtod(). @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.13 91/02/27 15:40:54 mer Exp $"); a605 1 arrayFmgr(), a2030 1 SymbolDecl(arrayFmgr), @ 1.13 log @undef palloc and pfree for memory allocation debugging @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.12 91/02/24 14:38:54 sp Exp Locker: mer $"); d1433 1 a1433 1 strcmp(), strcpy(), strlen(), strncmp(), strncpy(), strtod(), strtol(), a2611 1 SymbolDecl(strtod), @ 1.12 log @symbol declaration for obsolete function 'find_best_insertion_box' removed. @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.11 91/02/11 12:33:56 cimarron Exp $"); d61 3 @ 1.11 log @one more quick fix - forgot getinaddr, getinserv are now pq_getinaddr, pq_getinserv @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.10 91/02/11 12:28:45 cimarron Exp Locker: cimarron $"); a754 1 find_best_insertion_box(), a2183 1 SymbolDecl(find_best_insertion_box), @ 1.10 log @forgot to correct SymbolDecl in prev checkin @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.9 91/02/11 12:26:31 cimarron Exp Locker: cimarron $"); d88 2 d1419 2 a1420 2 gethostbyaddr(), gethostbyname(), /* gethostent(),*/ getinaddr(), getinserv(), getpagesize(), getpid(), getpwent(), getpwnam(), d1483 2 a2545 2 SymbolDecl(getinaddr), SymbolDecl(getinserv), @ 1.9 log @changed libpq interface names. @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.8 91/02/08 10:34:57 choi Exp Locker: cimarron $"); d1475 6 a1480 6 SymbolDecl(getpchar), SymbolDecl(getpint), SymbolDecl(getpstr), SymbolDecl(putint), SymbolDecl(putnchar), SymbolDecl(putstr), @ 1.8 log @got rid of NewBeginScan, RelationNameCreateVersionRelation, RelationNameMergeRelations, etc @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.7 91/01/19 18:07:46 sp Exp Locker: choi $"); d83 6 a88 6 extern getpchar(), getpint(), getpstr(), putint(), putnchar(), putstr(); @ 1.7 log @Removed symbol declarations for the obsolete functions: `GetFreeLocalBuffer()' and `disp_shared_free()' @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.6 91/01/15 19:35:26 sp Exp Locker: sp $"); a508 1 RelationNameCreateVersionRelation(), a510 1 RelationNameMergeRelations(), a558 17 NewBeginScan(), NewBuild(), NewClose(), NewCreate(), NewDelete(), NewDestroy(), NewEndScan(), NewFreeTuple(), NewGetTuple(), NewInsert(), NewMarkPos(), NewNode(), NewOpen(), NewRescan(), NewRestrPos(), NewSetLock(), NewSetTid(), a1921 1 SymbolDecl(RelationNameCreateVersionRelation), a1923 1 SymbolDecl(RelationNameMergeRelations), a1972 17 SymbolDecl(NewBeginScan), SymbolDecl(NewBuild), SymbolDecl(NewClose), SymbolDecl(NewCreate), SymbolDecl(NewDelete), SymbolDecl(NewDestroy), SymbolDecl(NewEndScan), SymbolDecl(NewFreeTuple), SymbolDecl(NewGetTuple), SymbolDecl(NewInsert), SymbolDecl(NewMarkPos), SymbolDecl(NewNode), SymbolDecl(NewOpen), SymbolDecl(NewRescan), SymbolDecl(NewRestrPos), SymbolDecl(NewSetLock), SymbolDecl(NewSetTid), @ 1.6 log @Removed obsolete function 'param_is_attr' @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.5 90/10/25 02:39:23 kemnitz Exp Locker: sp $"); a368 1 GetFreeLocalBuffer(), a767 1 disp_shared_free(), a1774 1 SymbolDecl(GetFreeLocalBuffer), a2214 1 SymbolDecl(disp_shared_free), @ 1.5 log @Now include math.h @ text @d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.4 90/10/15 15:16:17 choi Exp Locker: kemnitz $"); a1102 1 param_is_attr(), a2347 1 SymbolDecl(param_is_attr), @ 1.4 log @changed remove() to LispRemove(). (posix) @ text @d23 1 a23 3 #ifdef MATH_H_EXTERNS #define DYNAMIC_SYMS_C #endif d27 1 a27 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.3 90/08/23 02:20:00 choi Exp Locker: choi $"); @ 1.3 log @eliminated functions that sprite does not have @ text @d29 1 a29 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.2 90/08/23 02:02:24 choi Exp Locker: choi $"); d641 1 a641 1 remove(), d2088 1 a2088 1 SymbolDecl(remove), @ 1.2 log @#include's corrected @ text @d29 1 a29 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.1 90/08/22 11:51:24 choi Exp Locker: choi $"); d315 1 a315 2 extern BypassEnable(), GetCurrentCommandId(), a319 2 GetDatabaseName(), GetDatabasePath(), a320 1 GetUserId(), d1392 1 a1392 1 extern accept(), bind(), chdir(), close(), connect(), dup(), fcntl(), flock(), d2526 1 d2537 1 d2543 1 d2545 1 @ 1.1 log @Initial revision @ text @d27 1 a27 1 #include "c.h" d29 1 a29 1 RcsId("$Header: RCS/dynamic_syms.c,v 1.7 90/07/31 12:41:36 mao Exp $"); d34 26 a59 33 #include "att.h" #include "attnum.h" #include "block.h" #include "buf.h" #include "bufmgr.h" #include "bufpage.h" #include "catname.h" #include "datum.h" #include "exc.h" #include "excid.h" #include "fd.h" #include "globals.h" #include "htup.h" #include "istrat.h" #include "itemid.h" #include "itemptr.h" #include "name.h" #include "off.h" #include "oid.h" #include "page.h" #include "pagenum.h" #include "palloc.h" #include "part.h" #include "pmod.h" #include "pos.h" #include "regproc.h" #include "rel.h" #include "rlock.h" #include "skey.h" #include "tim.h" #include "tqual.h" #include "tupdesc.h" #include "xid.h" d61 2 a62 2 #include "dynamic_loader.h" #include "syms.h" @