⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 equalfuncs.c

📁 PostgreSQL7.4.6 for Linux
💻 C
📖 第 1 页 / 共 3 页
字号:
	return true;}static bool_equalAlterTableStmt(AlterTableStmt *a, AlterTableStmt *b){	COMPARE_SCALAR_FIELD(subtype);	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(def);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalAlterDomainStmt(AlterDomainStmt *a, AlterDomainStmt *b){	COMPARE_SCALAR_FIELD(subtype);	COMPARE_NODE_FIELD(typename);	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(def);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalGrantStmt(GrantStmt *a, GrantStmt *b){	COMPARE_SCALAR_FIELD(is_grant);	COMPARE_SCALAR_FIELD(objtype);	COMPARE_NODE_FIELD(objects);	COMPARE_INTLIST_FIELD(privileges);	COMPARE_NODE_FIELD(grantees);	COMPARE_SCALAR_FIELD(grant_option);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalPrivGrantee(PrivGrantee *a, PrivGrantee *b){	COMPARE_STRING_FIELD(username);	COMPARE_STRING_FIELD(groupname);	return true;}static bool_equalFuncWithArgs(FuncWithArgs *a, FuncWithArgs *b){	COMPARE_NODE_FIELD(funcname);	COMPARE_NODE_FIELD(funcargs);	return true;}static bool_equalDeclareCursorStmt(DeclareCursorStmt *a, DeclareCursorStmt *b){	COMPARE_STRING_FIELD(portalname);	COMPARE_SCALAR_FIELD(options);	COMPARE_NODE_FIELD(query);	return true;}static bool_equalClosePortalStmt(ClosePortalStmt *a, ClosePortalStmt *b){	COMPARE_STRING_FIELD(portalname);	return true;}static bool_equalClusterStmt(ClusterStmt *a, ClusterStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(indexname);	return true;}static bool_equalCopyStmt(CopyStmt *a, CopyStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_NODE_FIELD(attlist);	COMPARE_SCALAR_FIELD(is_from);	COMPARE_STRING_FIELD(filename);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalCreateStmt(CreateStmt *a, CreateStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_NODE_FIELD(tableElts);	COMPARE_NODE_FIELD(inhRelations);	COMPARE_NODE_FIELD(constraints);	COMPARE_SCALAR_FIELD(hasoids);	COMPARE_SCALAR_FIELD(oncommit);	return true;}static bool_equalInhRelation(InhRelation *a, InhRelation *b){	COMPARE_NODE_FIELD(relation);	COMPARE_SCALAR_FIELD(including_defaults);	return true;}static bool_equalDefineStmt(DefineStmt *a, DefineStmt *b){	COMPARE_SCALAR_FIELD(kind);	COMPARE_NODE_FIELD(defnames);	COMPARE_NODE_FIELD(definition);	return true;}static bool_equalDropStmt(DropStmt *a, DropStmt *b){	COMPARE_NODE_FIELD(objects);	COMPARE_SCALAR_FIELD(removeType);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalTruncateStmt(TruncateStmt *a, TruncateStmt *b){	COMPARE_NODE_FIELD(relation);	return true;}static bool_equalCommentStmt(CommentStmt *a, CommentStmt *b){	COMPARE_SCALAR_FIELD(objtype);	COMPARE_NODE_FIELD(objname);	COMPARE_NODE_FIELD(objargs);	COMPARE_STRING_FIELD(comment);	return true;}static bool_equalFetchStmt(FetchStmt *a, FetchStmt *b){	COMPARE_SCALAR_FIELD(direction);	COMPARE_SCALAR_FIELD(howMany);	COMPARE_STRING_FIELD(portalname);	COMPARE_SCALAR_FIELD(ismove);	return true;}static bool_equalIndexStmt(IndexStmt *a, IndexStmt *b){	COMPARE_STRING_FIELD(idxname);	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(accessMethod);	COMPARE_NODE_FIELD(indexParams);	COMPARE_NODE_FIELD(whereClause);	COMPARE_NODE_FIELD(rangetable);	COMPARE_SCALAR_FIELD(unique);	COMPARE_SCALAR_FIELD(primary);	COMPARE_SCALAR_FIELD(isconstraint);	return true;}static bool_equalCreateFunctionStmt(CreateFunctionStmt *a, CreateFunctionStmt *b){	COMPARE_SCALAR_FIELD(replace);	COMPARE_NODE_FIELD(funcname);	COMPARE_NODE_FIELD(argTypes);	COMPARE_NODE_FIELD(returnType);	COMPARE_NODE_FIELD(options);	COMPARE_NODE_FIELD(withClause);	return true;}static bool_equalRemoveAggrStmt(RemoveAggrStmt *a, RemoveAggrStmt *b){	COMPARE_NODE_FIELD(aggname);	COMPARE_NODE_FIELD(aggtype);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalRemoveFuncStmt(RemoveFuncStmt *a, RemoveFuncStmt *b){	COMPARE_NODE_FIELD(funcname);	COMPARE_NODE_FIELD(args);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalRemoveOperStmt(RemoveOperStmt *a, RemoveOperStmt *b){	COMPARE_NODE_FIELD(opname);	COMPARE_NODE_FIELD(args);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalRemoveOpClassStmt(RemoveOpClassStmt *a, RemoveOpClassStmt *b){	COMPARE_NODE_FIELD(opclassname);	COMPARE_STRING_FIELD(amname);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalRenameStmt(RenameStmt *a, RenameStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_NODE_FIELD(object);	COMPARE_NODE_FIELD(objarg);	COMPARE_STRING_FIELD(subname);	COMPARE_STRING_FIELD(newname);	COMPARE_SCALAR_FIELD(renameType);	return true;}static bool_equalRuleStmt(RuleStmt *a, RuleStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(rulename);	COMPARE_NODE_FIELD(whereClause);	COMPARE_SCALAR_FIELD(event);	COMPARE_SCALAR_FIELD(instead);	COMPARE_NODE_FIELD(actions);	COMPARE_SCALAR_FIELD(replace);	return true;}static bool_equalNotifyStmt(NotifyStmt *a, NotifyStmt *b){	COMPARE_NODE_FIELD(relation);	return true;}static bool_equalListenStmt(ListenStmt *a, ListenStmt *b){	COMPARE_NODE_FIELD(relation);	return true;}static bool_equalUnlistenStmt(UnlistenStmt *a, UnlistenStmt *b){	COMPARE_NODE_FIELD(relation);	return true;}static bool_equalTransactionStmt(TransactionStmt *a, TransactionStmt *b){	COMPARE_SCALAR_FIELD(kind);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalCompositeTypeStmt(CompositeTypeStmt *a, CompositeTypeStmt *b){	COMPARE_NODE_FIELD(typevar);	COMPARE_NODE_FIELD(coldeflist);	return true;}static bool_equalViewStmt(ViewStmt *a, ViewStmt *b){	COMPARE_NODE_FIELD(view);	COMPARE_NODE_FIELD(aliases);	COMPARE_NODE_FIELD(query);	COMPARE_SCALAR_FIELD(replace);	return true;}static bool_equalLoadStmt(LoadStmt *a, LoadStmt *b){	COMPARE_STRING_FIELD(filename);	return true;}static bool_equalCreateDomainStmt(CreateDomainStmt *a, CreateDomainStmt *b){	COMPARE_NODE_FIELD(domainname);	COMPARE_NODE_FIELD(typename);	COMPARE_NODE_FIELD(constraints);	return true;}static bool_equalCreateOpClassStmt(CreateOpClassStmt *a, CreateOpClassStmt *b){	COMPARE_NODE_FIELD(opclassname);	COMPARE_STRING_FIELD(amname);	COMPARE_NODE_FIELD(datatype);	COMPARE_NODE_FIELD(items);	COMPARE_SCALAR_FIELD(isDefault);	return true;}static bool_equalCreateOpClassItem(CreateOpClassItem *a, CreateOpClassItem *b){	COMPARE_SCALAR_FIELD(itemtype);	COMPARE_NODE_FIELD(name);	COMPARE_NODE_FIELD(args);	COMPARE_SCALAR_FIELD(number);	COMPARE_SCALAR_FIELD(recheck);	COMPARE_NODE_FIELD(storedtype);	return true;}static bool_equalCreatedbStmt(CreatedbStmt *a, CreatedbStmt *b){	COMPARE_STRING_FIELD(dbname);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalAlterDatabaseSetStmt(AlterDatabaseSetStmt *a, AlterDatabaseSetStmt *b){	COMPARE_STRING_FIELD(dbname);	COMPARE_STRING_FIELD(variable);	COMPARE_NODE_FIELD(value);	return true;}static bool_equalDropdbStmt(DropdbStmt *a, DropdbStmt *b){	COMPARE_STRING_FIELD(dbname);	return true;}static bool_equalVacuumStmt(VacuumStmt *a, VacuumStmt *b){	COMPARE_SCALAR_FIELD(vacuum);	COMPARE_SCALAR_FIELD(full);	COMPARE_SCALAR_FIELD(analyze);	COMPARE_SCALAR_FIELD(freeze);	COMPARE_SCALAR_FIELD(verbose);	COMPARE_NODE_FIELD(relation);	COMPARE_NODE_FIELD(va_cols);	return true;}static bool_equalExplainStmt(ExplainStmt *a, ExplainStmt *b){	COMPARE_NODE_FIELD(query);	COMPARE_SCALAR_FIELD(verbose);	COMPARE_SCALAR_FIELD(analyze);	return true;}static bool_equalCreateSeqStmt(CreateSeqStmt *a, CreateSeqStmt *b){	COMPARE_NODE_FIELD(sequence);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalAlterSeqStmt(AlterSeqStmt *a, AlterSeqStmt *b){	COMPARE_NODE_FIELD(sequence);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalVariableSetStmt(VariableSetStmt *a, VariableSetStmt *b){	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(args);	COMPARE_SCALAR_FIELD(is_local);	return true;}static bool_equalVariableShowStmt(VariableShowStmt *a, VariableShowStmt *b){	COMPARE_STRING_FIELD(name);	return true;}static bool_equalVariableResetStmt(VariableResetStmt *a, VariableResetStmt *b){	COMPARE_STRING_FIELD(name);	return true;}static bool_equalCreateTrigStmt(CreateTrigStmt *a, CreateTrigStmt *b){	COMPARE_STRING_FIELD(trigname);	COMPARE_NODE_FIELD(relation);	COMPARE_NODE_FIELD(funcname);	COMPARE_NODE_FIELD(args);	COMPARE_SCALAR_FIELD(before);	COMPARE_SCALAR_FIELD(row);	if (strcmp(a->actions, b->actions) != 0)	/* in-line string field */		return false;	COMPARE_SCALAR_FIELD(isconstraint);	COMPARE_SCALAR_FIELD(deferrable);	COMPARE_SCALAR_FIELD(initdeferred);	COMPARE_NODE_FIELD(constrrel);	return true;}static bool_equalDropPropertyStmt(DropPropertyStmt *a, DropPropertyStmt *b){	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(property);	COMPARE_SCALAR_FIELD(removeType);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalCreatePLangStmt(CreatePLangStmt *a, CreatePLangStmt *b){	COMPARE_STRING_FIELD(plname);	COMPARE_NODE_FIELD(plhandler);	COMPARE_NODE_FIELD(plvalidator);	COMPARE_SCALAR_FIELD(pltrusted);	return true;}static bool_equalDropPLangStmt(DropPLangStmt *a, DropPLangStmt *b){	COMPARE_STRING_FIELD(plname);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalCreateUserStmt(CreateUserStmt *a, CreateUserStmt *b){	COMPARE_STRING_FIELD(user);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalAlterUserStmt(AlterUserStmt *a, AlterUserStmt *b){	COMPARE_STRING_FIELD(user);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalAlterUserSetStmt(AlterUserSetStmt *a, AlterUserSetStmt *b){	COMPARE_STRING_FIELD(user);	COMPARE_STRING_FIELD(variable);	COMPARE_NODE_FIELD(value);	return true;}static bool_equalDropUserStmt(DropUserStmt *a, DropUserStmt *b){	COMPARE_NODE_FIELD(users);	return true;}static bool_equalLockStmt(LockStmt *a, LockStmt *b){	COMPARE_NODE_FIELD(relations);	COMPARE_SCALAR_FIELD(mode);	return true;}static bool_equalConstraintsSetStmt(ConstraintsSetStmt *a, ConstraintsSetStmt *b){	COMPARE_NODE_FIELD(constraints);	COMPARE_SCALAR_FIELD(deferred);	return true;}static bool_equalCreateGroupStmt(CreateGroupStmt *a, CreateGroupStmt *b){	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(options);	return true;}static bool_equalAlterGroupStmt(AlterGroupStmt *a, AlterGroupStmt *b){	COMPARE_STRING_FIELD(name);	COMPARE_SCALAR_FIELD(action);	COMPARE_NODE_FIELD(listUsers);	return true;}static bool_equalDropGroupStmt(DropGroupStmt *a, DropGroupStmt *b){	COMPARE_STRING_FIELD(name);	return true;}static bool_equalReindexStmt(ReindexStmt *a, ReindexStmt *b){	COMPARE_SCALAR_FIELD(kind);	COMPARE_NODE_FIELD(relation);	COMPARE_STRING_FIELD(name);	COMPARE_SCALAR_FIELD(force);	COMPARE_SCALAR_FIELD(all);	return true;}static bool_equalCreateSchemaStmt(CreateSchemaStmt *a, CreateSchemaStmt *b){	COMPARE_STRING_FIELD(schemaname);	COMPARE_STRING_FIELD(authid);	COMPARE_NODE_FIELD(schemaElts);	return true;}static bool_equalCreateConversionStmt(CreateConversionStmt *a, CreateConversionStmt *b){	COMPARE_NODE_FIELD(conversion_name);	COMPARE_STRING_FIELD(for_encoding_name);	COMPARE_STRING_FIELD(to_encoding_name);	COMPARE_NODE_FIELD(func_name);	COMPARE_SCALAR_FIELD(def);	return true;}static bool_equalCreateCastStmt(CreateCastStmt *a, CreateCastStmt *b){	COMPARE_NODE_FIELD(sourcetype);	COMPARE_NODE_FIELD(targettype);	COMPARE_NODE_FIELD(func);	COMPARE_SCALAR_FIELD(context);	return true;}static bool_equalDropCastStmt(DropCastStmt *a, DropCastStmt *b){	COMPARE_NODE_FIELD(sourcetype);	COMPARE_NODE_FIELD(targettype);	COMPARE_SCALAR_FIELD(behavior);	return true;}static bool_equalPrepareStmt(PrepareStmt *a, PrepareStmt *b){	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(argtypes);	COMPARE_OIDLIST_FIELD(argtype_oids);	COMPARE_NODE_FIELD(query);	return true;}static bool_equalExecuteStmt(ExecuteStmt *a, ExecuteStmt *b){	COMPARE_STRING_FIELD(name);	COMPARE_NODE_FIELD(into);	COMPARE_NODE_FIELD(params);	return true;}static bool_equalDeallocateStmt(DeallocateStmt *a, DeallocateStmt *b){	COMPARE_STRING_FIELD(name);	return true;}/* * stuff from parsenodes.h */static bool_equalAExpr(A_Expr *a, A_Expr *b){	COMPARE_SCALAR_FIELD(kind);	COMPARE_NODE_FIELD(name);	COMPARE_NODE_FIELD(lexpr);	COMPARE_NODE_FIELD(rexpr);	return true;}static bool_equalColumnRef(ColumnRef *a, ColumnRef *b){	COMPARE_NODE_FIELD(fields);	COMPARE_NODE_FIELD(indirection);	return true;}static bool_equalParamRef(ParamRef *a, ParamRef *b){	COMPARE_SCALAR_FIELD(number);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -