File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1350,13 +1350,13 @@ WalSndGetStateString(WalSndState state)
1350
1350
switch (state )
1351
1351
{
1352
1352
case WALSNDSTATE_STARTUP :
1353
- return "STARTUP " ;
1353
+ return "startup " ;
1354
1354
case WALSNDSTATE_BACKUP :
1355
- return "BACKUP " ;
1355
+ return "backup " ;
1356
1356
case WALSNDSTATE_CATCHUP :
1357
- return "CATCHUP " ;
1357
+ return "catchup " ;
1358
1358
case WALSNDSTATE_STREAMING :
1359
- return "STREAMING " ;
1359
+ return "streaming " ;
1360
1360
}
1361
1361
return "UNKNOWN" ;
1362
1362
}
@@ -1501,11 +1501,11 @@ pg_stat_get_wal_senders(PG_FUNCTION_ARGS)
1501
1501
* informational, not different from priority.
1502
1502
*/
1503
1503
if (sync_priority [i ] == 0 )
1504
- values [7 ] = CStringGetTextDatum ("ASYNC " );
1504
+ values [7 ] = CStringGetTextDatum ("async " );
1505
1505
else if (i == sync_standby )
1506
- values [7 ] = CStringGetTextDatum ("SYNC " );
1506
+ values [7 ] = CStringGetTextDatum ("sync " );
1507
1507
else
1508
- values [7 ] = CStringGetTextDatum ("POTENTIAL " );
1508
+ values [7 ] = CStringGetTextDatum ("potential " );
1509
1509
}
1510
1510
1511
1511
tuplestore_putvalues (tupstore , tupdesc , values , nulls );
You can’t perform that action at this time.
0 commit comments