| From: | Davy Machado <machado(dot)davy(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Cc: | Paul Guo <paulguo(at)gmail(dot)com> |
| Subject: | Re: pg_ugprade test failure on data set with column with default value with type bit/varbit |
| Date: | 2018-07-22 02:21:28 |
| Message-ID: | 153222608873.1561.2579913781159881783.pgcf@coridan.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The following review has been posted through the commitfest application:
make installcheck-world: tested, passed
Implements feature: tested, passed
Spec compliant: tested, passed
Documentation: not tested
Hi Paul,
this is a review of the patch:
CABQrizc90sfkZgi4=+0Bbp1Zu3yEx9sM4rjBE1YNCvzf3qKHkA(at)mail(dot)gmail(dot)com
There hasn't been any problem, at least that I've been able to find.
This one applies cleanly.
Compile, pg_upgrade and pg_dumpall passed without error too.
Follow below a comparison of the results of the pg_dumpall:
############# Without patch #############
...
CREATE TABLE public.t111 (
a40 bit varying(5) DEFAULT (B'1'::"bit")::bit varying
);
...
CREATE TABLE public.t222 (
a40 bit varying(5) DEFAULT B'1'::"bit"
);
############# With patch #############
...
CREATE TABLE public.t111 (
a40 bit varying(5) DEFAULT ('1'::"bit")::bit varying
);
...
CREATE TABLE public.t222 (
a40 bit varying(5) DEFAULT '1'::"bit"
);
The "B", used to indicated a bit-string constant, removed as expected.
+1 for committer review
--
Davy Machado
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Charles Cui | 2018-07-22 03:47:20 | Re: project updates |
| Previous Message | Andrei Korigodski | 2018-07-22 00:39:39 | pgbench: improve --help and --version parsing |