<commit_before><commit_msg>WAL utils defs<commit_after>
#ifndef XLOG_UTILS_H

#include "utils/rel.h"

extern int XLogIsOwnerOfTuple(RelFileNode hnode, ItemPointer iptr, 
					TransactionId xid, CommandId cid);
extern bool XLogIsValidTuple(RelFileNode hnode, ItemPointer iptr);

extern void XLogOpenLogRelation(void);

extern Buffer XLogReadBuffer(bool extend, Relation reln, BlockNumber blkno);
extern void XLogCloseRelationCache(void);
extern Relation XLogOpenRelation(bool redo, RmgrId rmid, RelFileNode rnode);

#endif
{'fraction_non_alphanumeric': 0.07485604606525911, 'fraction_numerical': 0.0, 'mean_word_length': 7.8474576271186445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5807156', 'n_tokens_mistral': 185, 'n_tokens_neox': 176, 'n_words': 46}