1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Adjust GiST error messages to conform to message style guidelines.

This commit is contained in:
Tom Lane
2005-09-22 18:49:45 +00:00
parent a453951dd9
commit 08817bdb76
4 changed files with 41 additions and 36 deletions

View File

@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.59 2005/06/27 12:45:22 teodor Exp $
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.60 2005/09/22 18:49:45 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -380,7 +380,7 @@ gistadjone(IndexScanDesc scan,
*/
static void
adjustiptr(IndexScanDesc scan,
ItemPointer iptr, GISTSearchStack *stk,
ItemPointer iptr, GISTSearchStack *stk,
int op,
BlockNumber blkno,
OffsetNumber offnum, XLogRecPtr newlsn, XLogRecPtr oldlsn)
@ -422,7 +422,8 @@ adjustiptr(IndexScanDesc scan,
}
break;
default:
elog(ERROR, "Bad operation in GiST scan adjust: %d", op);
elog(ERROR, "unrecognized GiST scan adjust operation: %d",
op);
}
}
}