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
b6c732e6
Commit
b6c732e6
authored
May 03, 1999
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct declaration of array_map() so that it doesn't make
gcc quite so unhappy.
parent
210055ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/arrayfuncs.c
+2
-2
src/include/utils/array.h
src/include/utils/array.h
+3
-2
No files found.
src/backend/utils/adt/arrayfuncs.c
View file @
b6c732e6
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.
39 1999/05/03 19:09:59 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.
40 1999/05/03 23:48:26 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1287,7 +1287,7 @@ array_assgn(ArrayType *array,
...
@@ -1287,7 +1287,7 @@ array_assgn(ArrayType *array,
ArrayType
*
ArrayType
*
array_map
(
ArrayType
*
v
,
array_map
(
ArrayType
*
v
,
Oid
type
,
Oid
type
,
char
*
(
fn
)(
char
*
p
,
...
),
char
*
(
*
fn
)(
),
Oid
retType
,
Oid
retType
,
int
nargs
,
int
nargs
,
...)
...)
...
...
src/include/utils/array.h
View file @
b6c732e6
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: array.h,v 1.1
6 1999/05/03 19:10:25 momjian
Exp $
* $Id: array.h,v 1.1
7 1999/05/03 23:48:25 tgl
Exp $
*
*
* NOTES
* NOTES
* XXX the data array should be LONGALIGN'd -- notice that the array
* XXX the data array should be LONGALIGN'd -- notice that the array
...
@@ -126,7 +126,8 @@ extern char *array_set(ArrayType *array, int n, int *indx, char *dataPtr,
...
@@ -126,7 +126,8 @@ extern char *array_set(ArrayType *array, int n, int *indx, char *dataPtr,
extern
char
*
array_assgn
(
ArrayType
*
array
,
int
n
,
int
*
upperIndx
,
extern
char
*
array_assgn
(
ArrayType
*
array
,
int
n
,
int
*
upperIndx
,
int
*
lowerIndx
,
ArrayType
*
newArr
,
int
reftype
,
int
*
lowerIndx
,
ArrayType
*
newArr
,
int
reftype
,
int
len
,
bool
*
isNull
);
int
len
,
bool
*
isNull
);
extern
ArrayType
*
array_map
(
ArrayType
*
v
,
Oid
type
,
char
*
(
fn
)(
char
*
p
,
...),
extern
ArrayType
*
array_map
(
ArrayType
*
v
,
Oid
type
,
char
*
(
*
fn
)(),
Oid
retType
,
int
nargs
,
...);
Oid
retType
,
int
nargs
,
...);
extern
int
array_eq
(
ArrayType
*
array1
,
ArrayType
*
array2
);
extern
int
array_eq
(
ArrayType
*
array1
,
ArrayType
*
array2
);
extern
int
_LOtransfer
(
char
**
destfd
,
int
size
,
int
nitems
,
char
**
srcfd
,
extern
int
_LOtransfer
(
char
**
destfd
,
int
size
,
int
nitems
,
char
**
srcfd
,
...
...
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