[PATCH] Fix typo in pgstat_replslot.c - Mailing list pgsql-hackers

From zengman
Subject [PATCH] Fix typo in pgstat_replslot.c
Date
Msg-id tencent_4DC563C83443A4B1082D2BFF@qq.com
Whole thread Raw
Responses Re: [PATCH] Fix typo in pgstat_replslot.c
List pgsql-hackers
Hi,

I noticed this could be corrected to `exists` (instead of `exits`) here, same as commit
63ed3bc7f9a66035e0b741aaa542de35a90fe1cc.
```c
    /* Check if the slot exits with the given name. */
    slot = SearchNamedReplicationSlot(name, false);

    if (!slot)
        ereport(ERROR,
                (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
                 errmsg("replication slot \"%s\" does not exist",
                        name)));
```

--
Regards,
Man Zeng
www.openhalo.org
Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Remove deprecated role membership options from psql help for CREATE USER/GROUP
Next
From: Amit Kapila
Date:
Subject: Re: Newly created replication slot may be invalidated by checkpoint