pgLatLon

changeset 60:a5b8024ef5bc v0.13

Changed constant "FALSE" to "false" to work with newer versions of PostgreSQL
author jbe
date Sun Feb 09 17:43:32 2020 +0100 (5 months ago)
parents a011d71ae717
children b1e1cc61a6f1
files latlon-v0009.c
line diff
     1.1 --- a/latlon-v0009.c	Sun Feb 09 17:43:04 2020 +0100
     1.2 +++ b/latlon-v0009.c	Sun Feb 09 17:43:32 2020 +0100
     1.3 @@ -3041,7 +3041,7 @@
     1.4      retval = palloc(sizeof(GISTENTRY));
     1.5      gistentryinit(
     1.6        *retval, PointerGetDatum(key),
     1.7 -      entry->rel, entry->page, entry->offset, FALSE
     1.8 +      entry->rel, entry->page, entry->offset, false
     1.9      );
    1.10    } else {
    1.11      /* inner nodes have already been transformed */
    1.12 @@ -3068,7 +3068,7 @@
    1.13      retval = palloc(sizeof(GISTENTRY));
    1.14      gistentryinit(
    1.15        *retval, PointerGetDatum(key),
    1.16 -      entry->rel, entry->page, entry->offset, FALSE
    1.17 +      entry->rel, entry->page, entry->offset, false
    1.18      );
    1.19    } else {
    1.20      /* inner nodes have already been transformed */
    1.21 @@ -3095,7 +3095,7 @@
    1.22      retval = palloc(sizeof(GISTENTRY));
    1.23      gistentryinit(
    1.24        *retval, PointerGetDatum(key),
    1.25 -      entry->rel, entry->page, entry->offset, FALSE
    1.26 +      entry->rel, entry->page, entry->offset, false
    1.27      );
    1.28      /* free detoasted datum */
    1.29      if ((void *)cluster != (void *)DatumGetPointer(entry->key)) pfree(cluster);

Impressum / About Us