Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
11226e38
Commit
11226e38
authored
Mar 24, 2015
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert commit
843cd0bf
Report by Tom Lane
parent
0e1f6d81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
contrib/btree_gin/btree_gin.c
contrib/btree_gin/btree_gin.c
+12
-3
No files found.
contrib/btree_gin/btree_gin.c
View file @
11226e38
...
...
@@ -318,7 +318,10 @@ GIN_SUPPORT(macaddr, false, leftmostvalue_macaddr, macaddr_cmp)
static
Datum
leftmostvalue_inet
(
void
)
{
return
DirectFunctionCall1
(
inet_in
,
CStringGetDatum
(
"0.0.0.0/0"
));
return
DirectFunctionCall3
(
inet_in
,
CStringGetDatum
(
"0.0.0.0/0"
),
ObjectIdGetDatum
(
0
),
Int32GetDatum
(
-
1
));
}
GIN_SUPPORT
(
inet
,
true
,
leftmostvalue_inet
,
network_cmp
)
...
...
@@ -343,14 +346,20 @@ GIN_SUPPORT(bytea, true, leftmostvalue_text, byteacmp)
static
Datum
leftmostvalue_bit
(
void
)
{
return
DirectFunctionCall1
(
bit_in
,
CStringGetDatum
(
""
));
return
DirectFunctionCall3
(
bit_in
,
CStringGetDatum
(
""
),
ObjectIdGetDatum
(
0
),
Int32GetDatum
(
-
1
));
}
GIN_SUPPORT
(
bit
,
true
,
leftmostvalue_bit
,
bitcmp
)
static
Datum
leftmostvalue_varbit
(
void
)
{
return
DirectFunctionCall1
(
varbit_in
,
CStringGetDatum
(
""
));
return
DirectFunctionCall3
(
varbit_in
,
CStringGetDatum
(
""
),
ObjectIdGetDatum
(
0
),
Int32GetDatum
(
-
1
));
}
GIN_SUPPORT
(
varbit
,
true
,
leftmostvalue_varbit
,
bitcmp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment