PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | PG_GETARG_LSN(n) DatumGetLSN(PG_GETARG_DATUM(n)) |
#define | PG_RETURN_LSN(x) return LSNGetDatum(x) |
Functions | |
static XLogRecPtr | DatumGetLSN (Datum X) |
static Datum | LSNGetDatum (XLogRecPtr X) |
XLogRecPtr | pg_lsn_in_internal (const char *str, bool *have_error) |
#define PG_GETARG_LSN | ( | n | ) | DatumGetLSN(PG_GETARG_DATUM(n)) |
#define PG_RETURN_LSN | ( | x | ) | return LSNGetDatum(x) |
|
inlinestatic |
Definition at line 22 of file pg_lsn.h.
References DatumGetInt64().
Referenced by GetSubscriptionRelations(), GetSubscriptionRelState(), libpqrcv_create_slot(), parse_subscription_options(), and synchronize_slots().
|
inlinestatic |
Definition at line 28 of file pg_lsn.h.
References Int64GetDatum().
Referenced by AddSubscriptionRelState(), AlterSubscription(), clear_subscription_skip_lsn(), copy_replication_slot(), CreateSubscription(), GetWALBlockInfo(), GetWALRecordInfo(), gist_page_opaque_info(), LogicalOutputWrite(), page_header(), pg_available_wal_summaries(), pg_backup_stop(), pg_control_checkpoint(), pg_control_recovery(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_get_replication_slots(), pg_get_wal_summarizer_state(), pg_replication_slot_advance(), pg_show_replication_origin_status(), pg_stat_get_subscription(), pg_stat_get_wal_receiver(), pg_stat_get_wal_senders(), and UpdateSubscriptionRelState().
XLogRecPtr pg_lsn_in_internal | ( | const char * | str, |
bool * | have_error | ||
) |
Definition at line 29 of file pg_lsn.c.
References Assert, InvalidXLogRecPtr, MAXPG_LSNCOMPONENT, and str.
Referenced by check_recovery_target_lsn(), and pg_lsn_in().