From ab61df9e527dcedbd3bbefbcb8b634b0b72f2ad5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 21 Oct 2009 20:38:58 +0000 Subject: Remove regex_flavor GUC, so that regular expressions are always "advanced" style by default. Per discussion, there seems to be hardly anything that really relies on being able to change the regex flavor, so the ability to select it via embedded options ought to be enough for any stragglers. Also, if we didn't remove the GUC, we'd really be morally obligated to mark the regex functions non-immutable, which'd possibly create performance issues. --- src/include/regex/regex.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/include/regex/regex.h') diff --git a/src/include/regex/regex.h b/src/include/regex/regex.h index abd90bc07c0..15975bc4786 100644 --- a/src/include/regex/regex.h +++ b/src/include/regex/regex.h @@ -29,7 +29,7 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $PostgreSQL: pgsql/src/include/regex/regex.h,v 1.31 2009/06/11 14:49:12 momjian Exp $ + * $PostgreSQL: pgsql/src/include/regex/regex.h,v 1.32 2009/10/21 20:38:58 tgl Exp $ */ /* @@ -166,9 +166,4 @@ extern int pg_regexec(regex_t *, const pg_wchar *, size_t, size_t, rm_detail_t * extern void pg_regfree(regex_t *); extern size_t pg_regerror(int, const regex_t *, char *, size_t); -/* - * guc configuration variables - */ -extern int regex_flavor; - #endif /* _REGEX_H_ */ -- cgit v1.2.3