Re: multivariate statistics v14
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Petr Jelinek <petr@2ndquadrant.com>, Tatsuo Ishii <ishii@postgresql.org>, jeff.janes@gmail.com, pgsql-hackers@postgresql.org
Date: 2016-03-24T17:45:20Z
Lists: pgsql-hackers
Tomas Vondra wrote: > >+ values[Anum_pg_mv_statistic_stamcv - 1] = PointerGetDatum(data); > > > >Why the double space (that's actually in several places in several of > >the patches). > > To align the whole block like this: > > nulls[Anum_pg_mv_statistic_stadeps -1] = true; > nulls[Anum_pg_mv_statistic_stamcv -1] = true; > nulls[Anum_pg_mv_statistic_stahist -1] = true; > nulls[Anum_pg_mv_statistic_standist -1] = true; > > But I won't fight for this too hard, if it breaks rules somehow. Yeah, it will be undone by pgindent. I suggest you pgindent all the patches in the series. With some clever patch vs. patch -R application, you can do it without having to resolve any conflicts when pgindent modifies code that a patch further up in the series modifies again. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Collect and use multi-column dependency stats
- 2686ee1b7ccf 10.0 landed
-
Implement SortSupport for macaddr data type
- f90d23d0c518 10.0 cited
-
Implement multivariate n-distinct coefficients
- 7b504eb282ca 10.0 landed
-
Generate fmgr prototypes automatically
- 352a24a1f9d6 10.0 cited