Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EmitWarningsOnPlaceholders("age") (#1997) #2001

Merged

Commits on Aug 7, 2024

  1. Add EmitWarningsOnPlaceholders("age")

    Added EmitWarningsOnPlaceholders("age") to warn when an undefined GUC parameter is set for a placeholder named "age".
    Warnings are issued when PostgreSQL starts and when SET statements are executed.
    
    When PostgreSQL starts
    ```
    2024-08-01 18:32:31.220 JST [2039799] WARNING: invalid configuration parameter name "age.invalid_parameter", removing it
    ```
    
    When SET statement is executed
    ```
    ERROR: invalid configuration parameter name "age.invalid_parameter"
    DETAIL: "age" is a reserved prefix.
    ```
    
    Regression tests were added.
    shinyaaa committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    0d1e43d View commit details
    Browse the repository at this point in the history