1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

aio: Change prefix of PgAioResultStatus values to PGAIO_RS_

The previous prefix wasn't consistent with the naming of other AIO related
enum values. It seems best to rename it before the users are introduced.

Reported-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/CAAKRu_Yb+JzQpNsgUxCB0gBi+sE-mi_HmcJF6ALnmO4W+UgwpA@mail.gmail.com
This commit is contained in:
Andres Freund
2025-03-22 17:30:44 -04:00
parent 58fdca2204
commit ca3067cc57
4 changed files with 14 additions and 14 deletions

View File

@@ -73,10 +73,10 @@ typedef union PgAioTargetData
*/
typedef enum PgAioResultStatus
{
ARS_UNKNOWN, /* not yet completed / uninitialized */
ARS_OK,
ARS_PARTIAL, /* did not fully succeed, but no error */
ARS_ERROR,
PGAIO_RS_UNKNOWN, /* not yet completed / uninitialized */
PGAIO_RS_OK,
PGAIO_RS_PARTIAL, /* did not fully succeed, but no error */
PGAIO_RS_ERROR,
} PgAioResultStatus;