Thread

Commits

  1. Rename injection points used in AIO tests

  1. Rename injection point names in test_aio

    Michael Paquier <michael@paquier.xyz> — 2025-04-14T04:45:59Z

    Hi all,
    (well, Andres)
    
    93bc3d75d8e1 has introduced a couple of new injection points, but
    these don't follow the convention in-place where points are named
    more-or-less-like-that.  Please find attached a patch to make all
    these more consistent.
    
    Thoughts or comments?
    --
    Michael
    
  2. RE: Rename injection point names in test_aio

    Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> — 2025-04-14T08:13:44Z

    Dear Michael,
    
    > 93bc3d75d8e1 has introduced a couple of new injection points, but
    > these don't follow the convention in-place where points are named
    > more-or-less-like-that.  Please find attached a patch to make all
    > these more consistent.
    
    I have no objections for the patch, but I feel there are no concrete naming rules
    (I confused while creating patches). Can we clarify that? E.g., first term should
    be a module or process, or something like that.
    
    Best regards,
    Hayato Kuroda
    FUJITSU LIMITED
    
    
    
    
    
  3. Re: Rename injection point names in test_aio

    Michael Paquier <michael@paquier.xyz> — 2025-04-14T10:22:24Z

    On Mon, Apr 14, 2025 at 08:13:44AM +0000, Hayato Kuroda (Fujitsu) wrote:
    > I have no objections for the patch, but I feel there are no concrete naming rules
    > (I confused while creating patches).
    
    There has been a sort of implied rule in the code to use lower
    characters, with terms separated by dashes.  Perhaps we could make
    that more official with an extra sentence in the docs about that.
    
    > Can we clarify that? E.g., first term should be a module or process,
    > or something like that.
    
    Not sure that it would be a good thing to put context-specific
    restrictions here.
    
    Anyway, would you like to propose a patch for the documentation?
    --
    Michael
    
  4. RE: Rename injection point names in test_aio

    Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> — 2025-04-14T11:14:59Z

    Dear Michael,
    
    > > I have no objections for the patch, but I feel there are no concrete naming rules
    > > (I confused while creating patches).
    > 
    > There has been a sort of implied rule in the code to use lower
    > characters, with terms separated by dashes.  Perhaps we could make
    > that more official with an extra sentence in the docs about that.
    
    Agreed.
    
    > > Can we clarify that? E.g., first term should be a module or process,
    > > or something like that.
    > 
    > Not sure that it would be a good thing to put context-specific
    > restrictions here.
    
    My main concern is that in someday the name of injection points might be conflict,
    and it might be painful to consider after the number of points is increased.
    But it's OK to leave here now.
    
    > Anyway, would you like to propose a patch for the documentation?
    
    Sure, I did. Please see [1].
    
    [1]: https://www.postgresql.org/message-id/OSCPR01MB14966E14C1378DEE51FB7B7C5F5B32%40OSCPR01MB14966.jpnprd01.prod.outlook.com
    
    Best regards,
    Hayato Kuroda
    FUJITSU LIMITED
    
    
    
    
    
  5. Re: Rename injection point names in test_aio

    Michael Paquier <michael@paquier.xyz> — 2025-04-16T22:25:19Z

    On Mon, Apr 14, 2025 at 11:14:59AM +0000, Hayato Kuroda (Fujitsu) wrote:
    >> Anyway, would you like to propose a patch for the documentation?
    > 
    > Sure, I did. Please see [1].
    > 
    > [1]: https://www.postgresql.org/message-id/OSCPR01MB14966E14C1378DEE51FB7B7C5F5B32%40OSCPR01MB14966.jpnprd01.prod.outlook.com
    
    Thanks, I'll check that.
    
    If anybody objects about the points getting renamed here, please let
    me know.
    --
    Michael
    
  6. Re: Rename injection point names in test_aio

    Michael Paquier <michael@paquier.xyz> — 2025-04-19T22:57:39Z

    On Wed, Apr 16, 2025 at 03:25:19PM -0700, Michael Paquier wrote:
    > If anybody objects about the points getting renamed here, please let
    > me know.
    
    Applied this one as 114f7fa81c72.
    --
    Michael