• Fujii Masao's avatar
    Use ereport(ERROR) instead of Assert() to emit syncrep_parser error. · 0038c1e2
    Fujii Masao authored
    The existing code would either Assert or generate an invalid
    SyncRepConfig variable, neither of which is desirable. A regular
    error should be thrown instead.
    
    This commit silences compiler warning in non assertion-enabled builds.
    
    Per report from Jeff Janes.
    Suggested fix by Tom Lane.
    0038c1e2
syncrep.c 29.5 KB