On 2018-03-28 16:59, Anastasia Lubennikova wrote:
Here is the new version of the patch set.

I can't get these to apply:

patch -b -l -F 25 -p 1 < /home/aardvark/download/pgpatches/0110/covering_indexes/20180328/0001-Covering-core-v8.patch


1 out of 19 hunks FAILED -- saving rejects to file src/backend/utils/cache/relcache.c.rej


$ cat src/backend/utils/cache/relcache.c.rej
--- src/backend/utils/cache/relcache.c
+++ src/backend/utils/cache/relcache.c
@@ -542,7 +542,7 @@
attp = (Form_pg_attribute) GETSTRUCT(pg_attribute_tuple);

                if (attp->attnum <= 0 ||
-                       attp->attnum > relation->rd_rel->relnatts)
+ attp->attnum > RelationGetNumberOfAttributes(relation)) elog(ERROR, "invalid attribute number %d for %s", attp->attnum, RelationGetRelationName(relation));





Erik Rijkers


Reply via email to