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
990fa43c
Commit
990fa43c
authored
Oct 26, 1998
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of some minor compiler warnings.
parent
0bdf46a3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
23 deletions
+25
-23
src/backend/utils/Gen_fmgrtab.sh.in
src/backend/utils/Gen_fmgrtab.sh.in
+6
-4
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/geo_ops.c
+3
-3
src/backend/utils/adt/mac.c
src/backend/utils/adt/mac.c
+7
-7
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/ruleutils.c
+2
-2
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+2
-2
src/bin/psql/psql.c
src/bin/psql/psql.c
+5
-5
No files found.
src/backend/utils/Gen_fmgrtab.sh.in
View file @
990fa43c
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
0 1998/10/14 16:06:14 thomas
Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
1 1998/10/26 01:04:04 tgl
Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
...
...
@@ -79,7 +79,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
*
$Id
: Gen_fmgrtab.sh.in,v 1.1
0 1998/10/14 16:06:14 thomas
Exp $
*
$Id
: Gen_fmgrtab.sh.in,v 1.1
1 1998/10/26 01:04:04 tgl
Exp $
*
* NOTES
* ******************************
...
...
@@ -193,7 +193,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
0 1998/10/14 16:06:14 thomas
Exp $
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
1 1998/10/26 01:04:04 tgl
Exp $
*
* NOTES
*
...
...
@@ -220,7 +220,9 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
#else
# ifdef HAVE_LIMITS_H
# include <limits.h>
# define MAXINT INT_MAX
# ifndef MAXINT
# define MAXINT INT_MAX
# endif
# else
# include <values.h>
# endif
...
...
src/backend/utils/adt/geo_ops.c
View file @
990fa43c
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.3
7 1998/09/01 04:32:33 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.3
8 1998/10/26 01:01:33 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -872,7 +872,7 @@ line_out(LINE *line)
/* line_construct_pm()
* point-slope
*/
LINE
*
static
LINE
*
line_construct_pm
(
Point
*
pt
,
double
m
)
{
LINE
*
result
=
palloc
(
sizeof
(
LINE
));
...
...
@@ -1294,7 +1294,7 @@ path_open(PATH *path)
}
/* path_open() */
PATH
*
static
PATH
*
path_copy
(
PATH
*
path
)
{
PATH
*
result
;
...
...
src/backend/utils/adt/mac.c
View file @
990fa43c
/*
* PostgreSQL type definitions for MAC addresses.
*
* $Id: mac.c,v 1.
5 1998/10/08 02:08:45 momjian
Exp $
* $Id: mac.c,v 1.
6 1998/10/26 01:01:36 tgl
Exp $
*/
#include <stdio.h>
...
...
@@ -234,40 +234,40 @@ macaddr_lt(macaddr *a1, macaddr *a2)
{
return
((
hibits
(
a1
)
<
hibits
(
a2
))
||
((
hibits
(
a1
)
==
hibits
(
a2
))
&&
lobits
(
a1
)
<
lobits
(
a2
)));
}
;
}
bool
macaddr_le
(
macaddr
*
a1
,
macaddr
*
a2
)
{
return
((
hibits
(
a1
)
<
hibits
(
a2
))
||
((
hibits
(
a1
)
==
hibits
(
a2
))
&&
lobits
(
a1
)
<=
lobits
(
a2
)));
}
;
}
bool
macaddr_eq
(
macaddr
*
a1
,
macaddr
*
a2
)
{
return
((
hibits
(
a1
)
==
hibits
(
a2
))
&&
(
lobits
(
a1
)
==
lobits
(
a2
)));
}
;
}
bool
macaddr_ge
(
macaddr
*
a1
,
macaddr
*
a2
)
{
return
((
hibits
(
a1
)
>
hibits
(
a2
))
||
((
hibits
(
a1
)
==
hibits
(
a2
))
&&
lobits
(
a1
)
>=
lobits
(
a2
)));
}
;
}
bool
macaddr_gt
(
macaddr
*
a1
,
macaddr
*
a2
)
{
return
((
hibits
(
a1
)
>
hibits
(
a2
))
||
((
hibits
(
a1
)
==
hibits
(
a2
))
&&
lobits
(
a1
)
>
lobits
(
a2
)));
}
;
}
bool
macaddr_ne
(
macaddr
*
a1
,
macaddr
*
a2
)
{
return
((
hibits
(
a1
)
!=
hibits
(
a2
))
||
(
lobits
(
a1
)
!=
lobits
(
a2
)));
}
;
}
/*
* Comparison function for sorting:
...
...
src/backend/utils/adt/ruleutils.c
View file @
990fa43c
...
...
@@ -3,7 +3,7 @@
* out of it's tuple
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.
5 1998/10/06 22:14:16 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.
6 1998/10/26 01:01:35 tgl
Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
...
...
@@ -1556,7 +1556,7 @@ get_tle_expr(QryHier *qh, int rt_index, TargetEntry *tle, bool varprefix)
* with the type cast out of a Const
* ----------
*/
char
*
static
char
*
get_const_expr
(
Const
*
constval
)
{
HeapTuple
typetup
;
...
...
src/bin/pg_dump/pg_dump.c
View file @
990fa43c
...
...
@@ -21,7 +21,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.9
2 1998/10/12 02:05:42 momjian
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.9
3 1998/10/26 01:05:07 tgl
Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
...
...
@@ -2527,7 +2527,7 @@ ParseACL(const char *acls, int *count)
* Called for sequences and tables
*/
void
static
void
dumpACL
(
FILE
*
fout
,
TableInfo
tbinfo
)
{
int
k
,
...
...
src/bin/psql/psql.c
View file @
990fa43c
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.16
2 1998/10/08 00:10:47 momjian
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.16
3 1998/10/26 01:04:37 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -379,7 +379,7 @@ listAllDbs(PsqlSettings *pset)
* List The Database Tables returns 0 if all went well
*
*/
int
static
int
tableList
(
PsqlSettings
*
pset
,
bool
deep_tablelist
,
char
info_type
,
bool
system_tables
)
{
...
...
@@ -535,7 +535,7 @@ tableList(PsqlSettings *pset, bool deep_tablelist, char info_type,
* List Tables Grant/Revoke Permissions returns 0 if all went well
*
*/
int
static
int
rightsList
(
PsqlSettings
*
pset
)
{
char
listbuf
[
512
];
...
...
@@ -661,7 +661,7 @@ static void emitNtimes (FILE *fout, const char *str, int N)
*
*
*/
int
static
int
tableDesc
(
PsqlSettings
*
pset
,
char
*
table
,
FILE
*
fout
)
{
char
descbuf
[
512
];
...
...
@@ -877,7 +877,7 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
*
*
*/
int
static
int
objectDescription
(
PsqlSettings
*
pset
,
char
*
object
)
{
char
descbuf
[
512
];
...
...
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