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
6358e654
Commit
6358e654
authored
Mar 15, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comment obsoleted by Thomas's latest fixes.
parent
1763a7c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/ruleutils.c
+4
-13
No files found.
src/backend/utils/adt/ruleutils.c
View file @
6358e654
...
...
@@ -3,7 +3,7 @@
* out of its tuple
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.4
5 2000/03/14 23:06:37 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.4
6 2000/03/15 23:42:14 tgl
Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
...
...
@@ -998,18 +998,9 @@ get_select_query_def(Query *query, deparse_context *context)
inherit_marker
(
rte
));
/*
* NOTE: SQL92 says you can't write column aliases unless
* you write a table alias --- but the table alias could
* be spelled the same as the table's real name. This
* logic is therefore all wet: it should go something like
* IF we-need-to-dump-column-aliases OR relname != refname
* THEN print refname;
* IF we-need-to-dump-column-aliases
* THEN print column alias list.
* But currently we can't tell whether we need to dump
* column aliases or not... without that, this clearly
* backwards logic seems the best short-term approach.
* Since we don't really support SQL joins yet, dropping
* the list of column aliases doesn't hurt anything...
* you write a table alias --- so, if there's an alias list,
* make sure we emit a table alias even if it's the same as
* the table's real name.
*/
if
((
rte
->
ref
!=
NULL
)
&&
((
strcmp
(
rte
->
relname
,
rte
->
ref
->
relname
)
!=
0
)
...
...
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