• Tom Lane's avatar
    A client_encoding specification coming from the connection request has · cf796cc7
    Tom Lane authored
    to be processed by GUC before InitPostgres, because any required lookup
    of the encoding conversion function has to be done during InitializeClientEncoding.
    So, I broke this last week by moving GUC processing to after InitPostgres :-(.
    What we can do as a compromise is process non-SUSET variables during
    command line scanning (the same as before), and postpone the processing
    of only SUSET variables.  None of the SUSET variables need to be set
    before InitPostgres.
    cf796cc7
guc.h 8.23 KB