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
103022c3
Commit
103022c3
authored
Nov 14, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add index recreation suggestion to end of world error message.
parent
106ded2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtpage.c
+3
-3
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtree.c
+2
-2
No files found.
src/backend/access/nbtree/nbtpage.c
View file @
103022c3
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.3
1 1999/08/08 20:12:50 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.3
2 1999/11/14 16:22:59 momjian
Exp $
*
* NOTES
* Postgres btree pages look like ordinary relation pages. The opaque
...
...
@@ -501,8 +501,8 @@ _bt_getstackbuf(Relation rel, BTStack stack, int access)
for
(;;)
{
blkno
=
opaque
->
btpo_next
;
if
(
P_RIGHTMOST
(
opaque
))
elog
(
FATAL
,
"my bits moved right off the end of the world!"
);
if
(
P_RIGHTMOST
(
opaque
))
R
elog
(
FATAL
,
"my bits moved right off the end of the world!
\n
Try recreating the index.
"
);
_bt_relbuf
(
rel
,
buf
,
access
);
buf
=
_bt_getbuf
(
rel
,
blkno
,
access
);
...
...
src/backend/access/nbtree/nbtree.c
View file @
103022c3
...
...
@@ -11,7 +11,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.4
7 1999/10/17 22:15:03 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.4
8 1999/11/14 16:22:59 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -664,7 +664,7 @@ _bt_restscan(IndexScanDesc scan)
for
(;;)
{
if
(
P_RIGHTMOST
(
opaque
))
elog
(
FATAL
,
"_bt_restscan: my bits moved right off the end of the world!"
);
elog
(
FATAL
,
"_bt_restscan: my bits moved right off the end of the world!
\n
Try recreating the index.
"
);
blkno
=
opaque
->
btpo_next
;
_bt_relbuf
(
rel
,
buf
,
BT_READ
);
...
...
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