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
83b4ab53
Commit
83b4ab53
authored
Feb 15, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update a couple of obsolete comments.
parent
bdacacdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
src/backend/optimizer/path/costsize.c
src/backend/optimizer/path/costsize.c
+3
-9
No files found.
src/backend/optimizer/path/costsize.c
View file @
83b4ab53
...
@@ -34,15 +34,14 @@
...
@@ -34,15 +34,14 @@
* Note that a relation's rows count (and, by extension, a Plan's plan_rows)
* Note that a relation's rows count (and, by extension, a Plan's plan_rows)
* are set without regard to any LIMIT, so that this equation works properly.
* are set without regard to any LIMIT, so that this equation works properly.
* (Also, these routines guarantee not to set the rows count to zero, so there
* (Also, these routines guarantee not to set the rows count to zero, so there
* will be no zero divide.) RelOptInfos, Paths, and Plans themselves never
* will be no zero divide.) The LIMIT is applied as a separate Plan node.
* account for LIMIT.
*
*
*
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6
6 2001/01/24 19:42:57 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6
7 2001/02/15 17:46:40 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -96,15 +95,10 @@ static double page_size(double tuples, int width);
...
@@ -96,15 +95,10 @@ static double page_size(double tuples, int width);
* cost_seqscan
* cost_seqscan
* Determines and returns the cost of scanning a relation sequentially.
* Determines and returns the cost of scanning a relation sequentially.
*
*
* If the relation is a temporary to be materialized from a query
* embedded within a data field (determined by 'relid' containing an
* attribute reference), then a predetermined constant is returned (we
* have NO IDEA how big the result of a POSTQUEL procedure is going to be).
*
* Note: for historical reasons, this routine and the others in this module
* Note: for historical reasons, this routine and the others in this module
* use the passed result Path only to store their startup_cost and total_cost
* use the passed result Path only to store their startup_cost and total_cost
* results into. All the input data they need is passed as separate
* results into. All the input data they need is passed as separate
* parameters, even though much of it could be extracted from the
result
Path.
* parameters, even though much of it could be extracted from the Path.
*/
*/
void
void
cost_seqscan
(
Path
*
path
,
RelOptInfo
*
baserel
)
cost_seqscan
(
Path
*
path
,
RelOptInfo
*
baserel
)
...
...
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