|
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) |
Typedefs | |
| typedef struct Node | Node |
Functions | |
| static XLogRecPtr | DatumGetLSN (Datum X) |
| static Datum | LSNGetDatum (XLogRecPtr X) |
| XLogRecPtr | pg_lsn_in_safe (const char *str, Node *escontext) |
| #define PG_GETARG_LSN | ( | n | ) | DatumGetLSN(PG_GETARG_DATUM(n)) |
| #define PG_RETURN_LSN | ( | x | ) | return LSNGetDatum(x) |
|
inlinestatic |
Definition at line 25 of file pg_lsn.h.
References DatumGetInt64().
Referenced by ExecWaitStmt(), get_and_validate_seq_info(), GetSubscriptionRelations(), GetSubscriptionRelState(), libpqrcv_create_slot(), parse_subscription_options(), and synchronize_slots().
|
inlinestatic |
Definition at line 31 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_logical_snapshot_info(), pg_get_replication_slots(), pg_get_sequence_data(), 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_safe | ( | const char * | str, |
| Node * | escontext | ||
| ) |
Definition at line 32 of file pg_lsn.c.
References ereturn, errcode(), errmsg(), InvalidXLogRecPtr, MAXPG_LSNCOMPONENT, str, and syntax_error().
Referenced by check_recovery_target_lsn(), and pg_lsn_in().