From: | Adrien Nayrat <adrien(dot)nayrat(at)dalibo(dot)com> |
---|---|
To: | pgsql-docs(at)postgreSQL(dot)org |
Subject: | Fix for pg_replication_origin_session_is_setup |
Date: | 2015-12-24 13:51:23 |
Message-ID: | 567BF85B.6090901@dalibo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hello,
I think there is a mistake in
http://www.postgresql.org/docs/9.5/static/functions-admin.html#PG-REPLICATION-ORIGIN-SESSION-SETUP
pg_replication_session_is_setup() should be
pg_replication_origin_session_is_setup()
According to :
src/backend/replication/logical/origin.c
/*
* Has a replication origin been setup for this session.
*/
Datum
pg_replication_origin_session_is_setup(PG_FUNCTION_ARGS)
{
replorigin_check_prerequisites(false, false);
PG_RETURN_BOOL(replorigin_session_origin != InvalidRepOriginId);
}
A patch is attached to this email.
Regards,
--
Adrien NAYRAT
Attachment | Content-Type | Size |
---|---|---|
fix_typo_pg_replication_origin_is_setup.patch | text/x-patch | 820 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-12-24 15:50:45 | Re: Fix for pg_replication_origin_session_is_setup |
Previous Message | Pietro Pugni | 2015-12-15 02:19:08 | Let's improve the documentation of upper() |