From 0ee391b77a8aef3835a39ecc4856a9ab79936f56 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 19 May 2011 00:30:31 +0300 Subject: [PATCH] /contrib/foo -> contrib/foo Since contrib is a relative directory specification, a leading slash is inappropriate. --- contrib/pg_upgrade/check.c | 10 +++++----- contrib/pg_upgrade/controldata.c | 2 +- doc/src/sgml/release-9.1.sgml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/pg_upgrade/check.c b/contrib/pg_upgrade/check.c index ebdc34e188..2117b7f80d 100644 --- a/contrib/pg_upgrade/check.c +++ b/contrib/pg_upgrade/check.c @@ -507,7 +507,7 @@ check_is_super_user(ClusterInfo *cluster) /* * check_for_isn_and_int8_passing_mismatch() * - * /contrib/isn relies on data type int8, and in 8.4 int8 can now be passed + * contrib/isn relies on data type int8, and in 8.4 int8 can now be passed * by value. The schema dumps the CREATE TYPE PASSEDBYVALUE setting so * it must match for the old and new servers. */ @@ -519,7 +519,7 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster) bool found = false; char output_path[MAXPGPATH]; - prep_status("Checking for /contrib/isn with bigint-passing mismatch"); + prep_status("Checking for contrib/isn with bigint-passing mismatch"); if (old_cluster.controldata.float8_pass_by_value == new_cluster.controldata.float8_pass_by_value) @@ -581,12 +581,12 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster) { pg_log(PG_REPORT, "fatal\n"); pg_log(PG_FATAL, - "| Your installation contains \"/contrib/isn\" functions\n" + "| Your installation contains \"contrib/isn\" functions\n" "| which rely on the bigint data type. Your old and\n" "| new clusters pass bigint values differently so this\n" "| cluster cannot currently be upgraded. You can\n" - "| manually upgrade data that use \"/contrib/isn\"\n" - "| facilities and remove \"/contrib/isn\" from the\n" + "| manually upgrade data that use \"contrib/isn\"\n" + "| facilities and remove \"contrib/isn\" from the\n" "| old cluster and restart the upgrade. A list\n" "| of the problem functions is in the file:\n" "| \t%s\n\n", output_path); diff --git a/contrib/pg_upgrade/controldata.c b/contrib/pg_upgrade/controldata.c index 5ce4b95b06..c282ec2452 100644 --- a/contrib/pg_upgrade/controldata.c +++ b/contrib/pg_upgrade/controldata.c @@ -330,7 +330,7 @@ get_control_data(ClusterInfo *cluster, bool live_check) pg_log(PG_FATAL, "%d: controldata retrieval problem\n", __LINE__); p++; /* removing ':' char */ - /* used later for /contrib check */ + /* used later for contrib check */ cluster->controldata.float8_pass_by_value = strstr(p, "by value") != NULL; got_float8_pass_by_value = true; } diff --git a/doc/src/sgml/release-9.1.sgml b/doc/src/sgml/release-9.1.sgml index 280e0bb142..713e89bee5 100644 --- a/doc/src/sgml/release-9.1.sgml +++ b/doc/src/sgml/release-9.1.sgml @@ -2272,7 +2272,7 @@ - Modify /contrib modules and stored procedure + Modify contrib modules and stored procedure languages to install via the new extension mechanism (Tom Lane, Dimitri Fontaine) -- 2.40.0