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
4b9e21bb
Commit
4b9e21bb
authored
Sep 01, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
a89089c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
src/backend/catalog/indexing.c
src/backend/catalog/indexing.c
+7
-7
src/backend/utils/adt/int.c
src/backend/utils/adt/int.c
+4
-4
src/include/utils/builtins.h
src/include/utils/builtins.h
+2
-2
No files found.
src/backend/catalog/indexing.c
View file @
4b9e21bb
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.2
6 1998/09/01 04:27:33
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.2
7 1998/09/01 06:22:42
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -45,15 +45,15 @@
...
@@ -45,15 +45,15 @@
*/
*/
char
*
Name_pg_attr_indices
[
Num_pg_attr_indices
]
=
{
AttributeNameIndex
,
char
*
Name_pg_attr_indices
[
Num_pg_attr_indices
]
=
{
AttributeNameIndex
,
AttributeNumIndex
,
AttributeNumIndex
,
AttributeRelidIndex
};
AttributeRelidIndex
};
char
*
Name_pg_proc_indices
[
Num_pg_proc_indices
]
=
{
ProcedureNameIndex
,
char
*
Name_pg_proc_indices
[
Num_pg_proc_indices
]
=
{
ProcedureNameIndex
,
ProcedureOidIndex
,
ProcedureOidIndex
,
ProcedureSrcIndex
};
ProcedureSrcIndex
};
char
*
Name_pg_type_indices
[
Num_pg_type_indices
]
=
{
TypeNameIndex
,
char
*
Name_pg_type_indices
[
Num_pg_type_indices
]
=
{
TypeNameIndex
,
TypeOidIndex
};
TypeOidIndex
};
char
*
Name_pg_class_indices
[
Num_pg_class_indices
]
=
{
ClassNameIndex
,
char
*
Name_pg_class_indices
[
Num_pg_class_indices
]
=
{
ClassNameIndex
,
ClassOidIndex
};
ClassOidIndex
};
char
*
Name_pg_attrdef_indices
[
Num_pg_attrdef_indices
]
=
{
AttrDefaultIndex
};
char
*
Name_pg_attrdef_indices
[
Num_pg_attrdef_indices
]
=
{
AttrDefaultIndex
};
char
*
Name_pg_relcheck_indices
[
Num_pg_relcheck_indices
]
=
{
RelCheckIndex
};
char
*
Name_pg_relcheck_indices
[
Num_pg_relcheck_indices
]
=
{
RelCheckIndex
};
...
...
src/backend/utils/adt/int.c
View file @
4b9e21bb
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.1
7 1998/09/01 04:32:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.1
8 1998/09/01 06:22:43
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -80,12 +80,12 @@ int2out(int16 sh)
...
@@ -80,12 +80,12 @@ int2out(int16 sh)
int16
*
int16
*
int28in
(
char
*
shs
)
int28in
(
char
*
shs
)
{
{
int16
**
result
;
int16
(
*
result
)[]
;
int
nums
;
int
nums
;
if
(
shs
==
NULL
)
if
(
shs
==
NULL
)
return
NULL
;
return
NULL
;
result
=
(
int16
**
)
palloc
(
sizeof
(
int16
[
8
]));
result
=
(
int16
(
*
)[]
)
palloc
(
sizeof
(
int16
[
8
]));
if
((
nums
=
sscanf
(
shs
,
"%hd%hd%hd%hd%hd%hd%hd%hd"
,
if
((
nums
=
sscanf
(
shs
,
"%hd%hd%hd%hd%hd%hd%hd%hd"
,
*
result
,
*
result
,
*
result
+
1
,
*
result
+
1
,
...
@@ -107,7 +107,7 @@ int28in(char *shs)
...
@@ -107,7 +107,7 @@ int28in(char *shs)
* int28out - converts internal form to "num num ..."
* int28out - converts internal form to "num num ..."
*/
*/
char
*
char
*
int28out
(
int16
**
shs
)
int28out
(
int16
(
*
shs
)[]
)
{
{
int
num
;
int
num
;
int16
*
sp
;
int16
*
sp
;
...
...
src/include/utils/builtins.h
View file @
4b9e21bb
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: builtins.h,v 1.5
2 1998/09/01 05:34:1
6 momjian Exp $
* $Id: builtins.h,v 1.5
3 1998/09/01 06:22:4
6 momjian Exp $
*
*
* NOTES
* NOTES
* This should normally only be included by fmgr.h.
* This should normally only be included by fmgr.h.
...
@@ -64,7 +64,7 @@ extern bool cideq(int8 arg1, int8 arg2);
...
@@ -64,7 +64,7 @@ extern bool cideq(int8 arg1, int8 arg2);
extern
int32
int2in
(
char
*
num
);
extern
int32
int2in
(
char
*
num
);
extern
char
*
int2out
(
int16
sh
);
extern
char
*
int2out
(
int16
sh
);
extern
int16
*
int28in
(
char
*
shs
);
extern
int16
*
int28in
(
char
*
shs
);
extern
char
*
int28out
(
int16
**
shs
);
extern
char
*
int28out
(
int16
(
*
shs
)[]
);
extern
int32
*
int44in
(
char
*
input_string
);
extern
int32
*
int44in
(
char
*
input_string
);
extern
char
*
int44out
(
int32
*
an_array
);
extern
char
*
int44out
(
int32
*
an_array
);
extern
int32
int4in
(
char
*
num
);
extern
int32
int4in
(
char
*
num
);
...
...
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