Skip to content

Commit 0ee391b

Browse files
committed
/contrib/foo -> contrib/foo
Since contrib is a relative directory specification, a leading slash is inappropriate.
1 parent 92ff915 commit 0ee391b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

contrib/pg_upgrade/check.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ check_is_super_user(ClusterInfo *cluster)
507507
/*
508508
* check_for_isn_and_int8_passing_mismatch()
509509
*
510-
* /contrib/isn relies on data type int8, and in 8.4 int8 can now be passed
510+
* contrib/isn relies on data type int8, and in 8.4 int8 can now be passed
511511
* by value. The schema dumps the CREATE TYPE PASSEDBYVALUE setting so
512512
* it must match for the old and new servers.
513513
*/
@@ -519,7 +519,7 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster)
519519
bool found = false;
520520
char output_path[MAXPGPATH];
521521

522-
prep_status("Checking for /contrib/isn with bigint-passing mismatch");
522+
prep_status("Checking for contrib/isn with bigint-passing mismatch");
523523

524524
if (old_cluster.controldata.float8_pass_by_value ==
525525
new_cluster.controldata.float8_pass_by_value)
@@ -581,12 +581,12 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster)
581581
{
582582
pg_log(PG_REPORT, "fatal\n");
583583
pg_log(PG_FATAL,
584-
"| Your installation contains \"/contrib/isn\" functions\n"
584+
"| Your installation contains \"contrib/isn\" functions\n"
585585
"| which rely on the bigint data type. Your old and\n"
586586
"| new clusters pass bigint values differently so this\n"
587587
"| cluster cannot currently be upgraded. You can\n"
588-
"| manually upgrade data that use \"/contrib/isn\"\n"
589-
"| facilities and remove \"/contrib/isn\" from the\n"
588+
"| manually upgrade data that use \"contrib/isn\"\n"
589+
"| facilities and remove \"contrib/isn\" from the\n"
590590
"| old cluster and restart the upgrade. A list\n"
591591
"| of the problem functions is in the file:\n"
592592
"| \t%s\n\n", output_path);

contrib/pg_upgrade/controldata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
330330
pg_log(PG_FATAL, "%d: controldata retrieval problem\n", __LINE__);
331331

332332
p++; /* removing ':' char */
333-
/* used later for /contrib check */
333+
/* used later for contrib check */
334334
cluster->controldata.float8_pass_by_value = strstr(p, "by value") != NULL;
335335
got_float8_pass_by_value = true;
336336
}

doc/src/sgml/release-9.1.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2272,7 +2272,7 @@
22722272

22732273
<listitem>
22742274
<para>
2275-
Modify <filename>/contrib</> modules and stored procedure
2275+
Modify <filename>contrib</> modules and stored procedure
22762276
languages to install via the new <link
22772277
linkend="extension">extension</link> mechanism (Tom Lane,
22782278
Dimitri Fontaine)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy