[bug] Wrong bool value parameter - Mailing list pgsql-hackers

From 曾文旌
Subject [bug] Wrong bool value parameter
Date
Msg-id C6E8C2E7-1906-4F6E-BCC8-7D9FC2FC5CFE@gmail.com
Whole thread Raw
List pgsql-hackers
Do we allow such a bool parameter value? This seems puzzling to me.


postgres=# create table t1(c1 int) with(autovacuum_enabled ='tr');
CREATE TABLE
postgres=# create table t2(c1 int) with(autovacuum_enabled ='fa');
CREATE TABLE
postgres=# \d+ t1
                                    Table "public.t1"
 Column |  Type   | Collation | Nullable | Default | Storage | Stats target | Description 
--------+---------+-----------+----------+---------+---------+--------------+-------------
 c1     | integer |           |          |         | plain   |              | 
Access method: heap
Options: autovacuum_enabled=tr

postgres=# \d+ t2
                                    Table "public.t2"
 Column |  Type   | Collation | Nullable | Default | Storage | Stats target | Description 
--------+---------+-----------+----------+---------+---------+--------------+-------------
 c1     | integer |           |          |         | plain   |              | 
Access method: heap
Options: autovacuum_enabled=fa


I am try to fix in bug_boolrelopt.patch


Wenjing



Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: pg_stat_statements issue with parallel maintenance (Was Re: WALusage calculation patch)
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Generate backup manifests for base backups, and validatethem.