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
4090d17f
Commit
4090d17f
authored
Feb 02, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SET_ARGS cleanup
parent
f1b78234
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
src/backend/nodes/equalfuncs.c
src/backend/nodes/equalfuncs.c
+4
-4
src/backend/optimizer/util/pathnode.c
src/backend/optimizer/util/pathnode.c
+4
-9
src/include/utils/ps_status.h
src/include/utils/ps_status.h
+2
-1
No files found.
src/backend/nodes/equalfuncs.c
View file @
4090d17f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.2
0 1998/09/01 04:29:03
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.2
1 1999/02/02 23:53:25
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -422,11 +422,11 @@ _equalMergePath(MergePath *a, MergePath *b)
if
(
!
_equalJoinPath
((
JoinPath
*
)
a
,
(
JoinPath
*
)
b
))
return
false
;
if
(
!
equal
(
(
a
->
path_mergeclauses
),
(
b
->
path_mergeclauses
)
))
if
(
!
equal
(
a
->
path_mergeclauses
,
b
->
path_mergeclauses
))
return
false
;
if
(
!
equal
(
(
a
->
outersortkeys
),
(
b
->
outersortkeys
)
))
if
(
!
equal
(
a
->
outersortkeys
,
b
->
outersortkeys
))
return
false
;
if
(
!
equal
(
(
a
->
innersortkeys
),
(
b
->
innersortkeys
)
))
if
(
!
equal
(
a
->
innersortkeys
,
b
->
innersortkeys
))
return
false
;
return
true
;
}
...
...
src/backend/optimizer/util/pathnode.c
View file @
4090d17f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.1
3 1998/09/21 15:41:28
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.1
4 1999/02/02 23:53:25
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -157,18 +157,13 @@ better_path(Path *new_path, List *unique_paths, bool *noOther)
List
*
temp
=
NIL
;
Path
*
retval
=
NULL
;
/*
* XXX - added the following two lines which weren't int the lisp
* planner, but otherwise, doesn't seem to work for the case where
* new_path is 'nil
*/
foreach
(
temp
,
unique_paths
)
{
path
=
(
Path
*
)
lfirst
(
temp
);
if
(
(
equal_path_path_ordering
(
&
new_path
->
p_ordering
,
&
path
->
p_ordering
)
&&
samekeys
(
new_path
->
keys
,
path
->
keys
)
))
if
(
samekeys
(
path
->
keys
,
new_path
->
keys
)
&&
equal_path_path_ordering
(
&
path
->
p_ordering
,
&
new_path
->
p_ordering
))
{
old_path
=
path
;
break
;
...
...
src/include/utils/ps_status.h
View file @
4090d17f
...
...
@@ -31,6 +31,7 @@ char *ps_status_buffer = NULL;
ps_status_buffer = (argv)[0]; \
sprintf(ps_status_buffer, "%s %s %s %s ", execname, username, hostname, dbname); \
ps_status_buffer += strlen(ps_status_buffer); \
ps_status_buffer[0] = '\0'; \
}
#define PS_CLEAR_STATUS() \
...
...
@@ -41,7 +42,7 @@ char *ps_status_buffer = NULL;
if (ps_status_buffer) \
{ \
PS_CLEAR_STATUS(); \
strc
at
(ps_status_buffer, status); \
strc
py
(ps_status_buffer, status); \
} \
}
...
...
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