PostGIS  3.0.6dev-r@@SVN_REVISION@@
rtpg_legacy.c
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * PostGIS - Spatial Types for PostgreSQL
4  * http://postgis.net
5  *
6  * PostGIS is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PostGIS is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with PostGIS. If not, see <http://www.gnu.org/licenses/>.
18  *
19  **********************************************************************
20  *
21  * Copyright (C) 2018 Regina Obe <lr@pcorp.us>
22  *
23  **********************************************************************/
24 
25 /******************************************************************************
26  * This file is to hold functions we no longer use,
27  * but we need to keep because they were used at one time behind SQL API functions.
28  * This is to ease pg_upgrade upgrades
29  *
30  * All functions in this file should throw an error telling the user to upgrade
31  * the install
32  *
33  *****************************************************************************/
34 
35 #include <postgres.h>
36 #include <fmgr.h>
37 
38 #include "rtpostgis.h"
39 
41 Datum RASTER_to_binary(PG_FUNCTION_ARGS);
42 
48 Datum RASTER_to_binary(PG_FUNCTION_ARGS)
49 {
50 
51  elog(ERROR, "RASTER_to_binary: This function is out of date. Run: ALTER EXTENSION postgis UPDATE; SELECT PostGIS_Extensions_Upgrade();");
52 
53 }
54 
55 
Datum RASTER_to_binary(PG_FUNCTION_ARGS)
obsolete as of 2.5.0 stubbing for smoother upgrade from 2.4
Definition: rtpg_legacy.c:48
PG_FUNCTION_INFO_V1(RASTER_to_binary)
Removed in PostGIS 2.5.0.