From cfefeddae91ea194206c95a0b122155696c7af6e Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 2 Jan 2008 09:31:58 +0000 Subject: [PATCH] put 8.2 check into main plproxy.h to avoid random errors on older vers --- src/plproxy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plproxy.h b/src/plproxy.h index 21fc140..b720909 100644 --- a/src/plproxy.h +++ b/src/plproxy.h @@ -48,6 +48,10 @@ #include +#ifndef PG_MODULE_MAGIC +#error PL/Proxy requires 8.2+ +#endif + /* * backwards compat with 8.2 */ -- 2.39.5