FreeBSD Bugzilla – Attachment 142987 Details for
Bug 190104
Patch to make databases/ip4r prefer indexes on large (ie in production) databases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.27 KB, created by
Michelle Sullivan
on 2014-05-22 13:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Michelle Sullivan
Created:
2014-05-22 13:00:00 UTC
Size:
1.27 KB
patch
obsolete
>diff -ur ip4r.orig/Makefile ip4r/Makefile >--- ip4r.orig/Makefile 2014-05-21 13:17:13.000000000 -0500 >+++ ip4r/Makefile 2014-05-22 06:33:21.000000000 -0500 >@@ -9,10 +9,22 @@ > MAINTAINER= tobez@FreeBSD.org > COMMENT= IP address and IP range index types for PostgreSQL > >+OPTIONS_DEFINE= IDXPATCH >+ >+IDXPATCH_DESC= Prefer ip4r indexes over seq_scan on large datasets >+ > USES= gmake pgsql > > MAKE_ARGS= USE_PGXS=1 > >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MIDXPATCH} >+# Patch if the option is supplied, however we need to unpatch if the option is de-selected after previously selecting (TODO) >+PATCH_SITES= http://www.sorbs.net/home/:SORBS >+PATCHFILES= ip4r-2.x-SORBS-prefer-index.patch:-p1:SORBS >+.endif >+ > # In order to make this port PREFIX-safe, we override the install target > # and install the three files manually > do-install: >diff -ur ip4r.orig/distinfo ip4r/distinfo >--- ip4r.orig/distinfo 2014-05-21 13:17:13.000000000 -0500 >+++ ip4r/distinfo 2014-05-22 05:59:27.000000000 -0500 >@@ -1,2 +1,4 @@ > SHA256 (ip4r-2.0.tar.gz) = 251e70d12fc1244aab1707d3db0fe9f821ab224765e34cd8f2fb66ee3468a957 > SIZE (ip4r-2.0.tar.gz) = 93007 >+SHA256 (ip4r-2.x-SORBS-prefer-index.patch) = 4c10dcb0c31b6abe012597fc7826ccff2611c8ef256bbc5d448633cfb3b60427 >+SIZE (ip4r-2.x-SORBS-prefer-index.patch) = 9221
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190104
: 142987