Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
78778608
Commit
78778608
authored
26 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
contrib/array_iterator/array_iterator.c won't compile.
Included patches should fix the problem. -- Tatsuo Ishii
parent
33cac03c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/array/array_iterator.c
+4
-2
4 additions, 2 deletions
contrib/array/array_iterator.c
with
4 additions
and
2 deletions
contrib/array/array_iterator.c
+
4
−
2
View file @
78778608
...
...
@@ -28,10 +28,11 @@
#include
"array_iterator.h"
static
int32
array_iterator
(
Oid
elemtype
,
Oid
proc
,
int
and
,
ArrayType
*
array
,
Datum
value
)
{
HeapTuple
typ_tuple
;
TypeTupleForm
typ_struct
;
Form_pg_type
typ_struct
;
bool
typbyval
;
int
typlen
;
func_ptr
proc_fn
;
...
...
@@ -43,6 +44,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
*
dim
;
char
*
p
;
FmgrInfo
finf
;
/*Tobias Gabele Jan 18 1999*/
/* Sanity checks */
if
((
array
==
(
ArrayType
*
)
NULL
)
...
...
@@ -67,7 +69,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
elog
(
ERROR
,
"array_iterator: cache lookup failed for type %d"
,
elemtype
);
return
0
;
}
typ_struct
=
(
TypeTupleForm
)
GETSTRUCT
(
typ_tuple
);
typ_struct
=
(
Form_pg_type
)
GETSTRUCT
(
typ_tuple
);
typlen
=
typ_struct
->
typlen
;
typbyval
=
typ_struct
->
typbyval
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment