1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00

Change some notices to warnings and vice versa according to criteria

developed on -hackers.
This commit is contained in:
Peter Eisentraut
2003-10-02 06:34:04 +00:00
parent 5b806ecf55
commit e78b0079a2
8 changed files with 31 additions and 33 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.113 2003/09/29 16:37:29 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.114 2003/10/02 06:34:03 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -654,7 +654,7 @@ ReindexTable(RangeVar *relation, bool force /* currently unused */ )
ReleaseSysCache(tuple);
if (!reindex_relation(heapOid))
ereport(WARNING,
ereport(NOTICE,
(errmsg("table \"%s\" has no indexes",
relation->relname)));
}