/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/commands/sequence_xlog.h
45 строк
1 KB
Bruce Momjian
Update copyright for 2026
01 янв 2026, 21:24
01 янв 2026, 21:24
451c439
Код
Авторство
О чём код?
/*------------------------------------------------------------------------- * * sequence_xlog.h * Sequence WAL definitions. * * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/commands/sequence_xlog.h * *------------------------------------------------------------------------- */ #ifndef SEQUENCE_XLOG_H #define SEQUENCE_XLOG_H #include "access/xlogreader.h" #include "lib/stringinfo.h" /* Record identifier */ #define XLOG_SEQ_LOG 0x00 /* * The "special area" of a sequence's buffer page looks like this. */ #define SEQ_MAGIC 0x1717 typedef struct sequence_magic { uint32 magic; } sequence_magic; /* Sequence WAL record */ typedef struct xl_seq_rec { RelFileLocator locator; /* SEQUENCE TUPLE DATA FOLLOWS AT THE END */ } xl_seq_rec; extern void seq_redo(XLogReaderState *record); extern void seq_desc(StringInfo buf, XLogReaderState *record); extern const char *seq_identify(uint8 info); extern void seq_mask(char *page, BlockNumber blkno); #endif /* SEQUENCE_XLOG_H */