From 07bb9f086bd8ef7a60d6249d723423ec8847efbf Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 29 Oct 2005 00:31:52 +0000 Subject: Message corrections --- src/backend/utils/adt/dbsize.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/utils/adt/dbsize.c') diff --git a/src/backend/utils/adt/dbsize.c b/src/backend/utils/adt/dbsize.c index 4a0ac3dcfb1..11ae30ab9c6 100644 --- a/src/backend/utils/adt/dbsize.c +++ b/src/backend/utils/adt/dbsize.c @@ -5,7 +5,7 @@ * Copyright (c) 2002-2005, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/dbsize.c,v 1.6 2005/10/15 02:49:28 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/dbsize.c,v 1.7 2005/10/29 00:31:51 petere Exp $ * */ @@ -53,7 +53,7 @@ db_dir_size(const char *path) if (stat(filename, &fst) < 0) ereport(ERROR, (errcode_for_file_access(), - errmsg("could not stat \"%s\": %m", filename))); + errmsg("could not stat file \"%s\": %m", filename))); dirsize += fst.st_size; } @@ -175,7 +175,7 @@ calculate_tablespace_size(Oid tblspcOid) if (stat(pathname, &fst) < 0) ereport(ERROR, (errcode_for_file_access(), - errmsg("could not stat \"%s\": %m", pathname))); + errmsg("could not stat file \"%s\": %m", pathname))); if (fst.st_mode & S_IFDIR) totalsize += db_dir_size(pathname); @@ -251,7 +251,7 @@ calculate_relation_size(RelFileNode *rfn) else ereport(ERROR, (errcode_for_file_access(), - errmsg("could not stat \"%s\": %m", pathname))); + errmsg("could not stat file \"%s\": %m", pathname))); } totalsize += fst.st_size; } -- cgit v1.2.3