postgres-github.git / summary / log / commit / refs

commit    c5f7820e5780f5be9cb406834108576b42e568f8
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Mon Mar 30 17:34:48 2026 +0000

    Fix latent bug in get_stats_option_name()
    
    The function is supposed to look at the passed in 'arg' argument, but
    peeks at the 'optarg' global variable that's part of getopt()
    instead. It happened to work anyway, because all callers passed
    'optarg' as the argument.
    
    Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
    Discussion: https://www.postgresql.org/message-id/d1da5f0e-0d68-47c9-a882-eb22f462752f@iki.fi

[parent: 50eb5faea295]