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
5bdf6945
Commit
5bdf6945
authored
Aug 14, 2020
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in test comment.
parent
1f32136a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/test/regress/expected/stats_ext.out
src/test/regress/expected/stats_ext.out
+1
-1
src/test/regress/sql/stats_ext.sql
src/test/regress/sql/stats_ext.sql
+1
-1
No files found.
src/test/regress/expected/stats_ext.out
View file @
5bdf6945
...
@@ -292,7 +292,7 @@ SELECT s.stxkind, d.stxdndistinct
...
@@ -292,7 +292,7 @@ SELECT s.stxkind, d.stxdndistinct
{d,f,m} | {"3, 4": 2550, "3, 6": 800, "4, 6": 1632, "3, 4, 6": 5000}
{d,f,m} | {"3, 4": 2550, "3, 6": 800, "4, 6": 1632, "3, 4, 6": 5000}
(1 row)
(1 row)
-- correct esimates
-- correct es
t
imates
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
estimated | actual
estimated | actual
-----------+--------
-----------+--------
...
...
src/test/regress/sql/stats_ext.sql
View file @
5bdf6945
...
@@ -201,7 +201,7 @@ SELECT s.stxkind, d.stxdndistinct
...
@@ -201,7 +201,7 @@ SELECT s.stxkind, d.stxdndistinct
WHERE
s
.
stxrelid
=
'ndistinct'
::
regclass
WHERE
s
.
stxrelid
=
'ndistinct'
::
regclass
AND
d
.
stxoid
=
s
.
oid
;
AND
d
.
stxoid
=
s
.
oid
;
-- correct esimates
-- correct es
t
imates
SELECT
*
FROM
check_estimated_rows
(
'SELECT COUNT(*) FROM ndistinct GROUP BY a, b'
);
SELECT
*
FROM
check_estimated_rows
(
'SELECT COUNT(*) FROM ndistinct GROUP BY a, b'
);
SELECT
*
FROM
check_estimated_rows
(
'SELECT COUNT(*) FROM ndistinct GROUP BY a, b, c'
);
SELECT
*
FROM
check_estimated_rows
(
'SELECT COUNT(*) FROM ndistinct GROUP BY a, b, c'
);
...
...
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