PostGIS
3.4.0dev-r@@SVN_REVISION@@
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
c
d
f
g
i
l
m
p
q
w
Variables
a
b
c
d
f
g
h
i
l
n
o
p
r
s
t
u
v
x
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
w
y
Typedefs
_
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
y
Enumerations
Enumerator
a
c
d
e
f
g
i
j
l
m
p
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
◆
geography_le()
Datum geography_le
(
PG_FUNCTION_ARGS
)
Definition at line
67
of file
geography_btree.c
.
68
{
69
GSERIALIZED
*g1 = PG_GETARG_GSERIALIZED_P(0);
70
GSERIALIZED
*g2 = PG_GETARG_GSERIALIZED_P(1);
71
int
cmp =
gserialized_cmp
(g1, g2);
72
PG_FREE_IF_COPY(g1, 0);
73
PG_FREE_IF_COPY(g2, 1);
74
if
(cmp <= 0)
75
PG_RETURN_BOOL(
true
);
76
else
77
PG_RETURN_BOOL(
false
);
78
}
gserialized_cmp
int gserialized_cmp(const GSERIALIZED *g1, const GSERIALIZED *g2)
Return -1 if g1 is "less than" g2, 1 if g1 is "greater than" g2 and 0 if g1 and g2 are the "same".
Definition:
gserialized.c:313
GSERIALIZED
Definition:
liblwgeom.h:443
References
gserialized_cmp()
.
Here is the call graph for this function:
postgis
geography_btree.c
Generated by
1.9.1