Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
83b4ab53
Commit
83b4ab53
authored
24 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Update a couple of obsolete comments.
parent
bdacacdf
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/optimizer/path/costsize.c
+3
-9
3 additions, 9 deletions
src/backend/optimizer/path/costsize.c
with
3 additions
and
9 deletions
src/backend/optimizer/path/costsize.c
+
3
−
9
View file @
83b4ab53
...
...
@@ -34,15 +34,14 @@
* 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.
* (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
* account for LIMIT.
* will be no zero divide.) The LIMIT is applied as a separate Plan node.
*
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6
6
2001/0
1/24
1
9
:4
2:57 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6
7
2001/0
2/15
1
7
:4
6:40 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -96,15 +95,10 @@ static double page_size(double tuples, int width);
* cost_seqscan
* 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
* 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
* 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
cost_seqscan
(
Path
*
path
,
RelOptInfo
*
baserel
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment