mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
/contrib/foo -> contrib/foo
Since contrib is a relative directory specification, a leading slash is inappropriate.
This commit is contained in:
parent
92ff915018
commit
0ee391b77a
@ -507,7 +507,7 @@ check_is_super_user(ClusterInfo *cluster)
|
|||||||
/*
|
/*
|
||||||
* check_for_isn_and_int8_passing_mismatch()
|
* 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
|
* by value. The schema dumps the CREATE TYPE PASSEDBYVALUE setting so
|
||||||
* it must match for the old and new servers.
|
* 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;
|
bool found = false;
|
||||||
char output_path[MAXPGPATH];
|
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 ==
|
if (old_cluster.controldata.float8_pass_by_value ==
|
||||||
new_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_REPORT, "fatal\n");
|
||||||
pg_log(PG_FATAL,
|
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"
|
"| which rely on the bigint data type. Your old and\n"
|
||||||
"| new clusters pass bigint values differently so this\n"
|
"| new clusters pass bigint values differently so this\n"
|
||||||
"| cluster cannot currently be upgraded. You can\n"
|
"| cluster cannot currently be upgraded. You can\n"
|
||||||
"| manually upgrade data that use \"/contrib/isn\"\n"
|
"| manually upgrade data that use \"contrib/isn\"\n"
|
||||||
"| facilities and remove \"/contrib/isn\" from the\n"
|
"| facilities and remove \"contrib/isn\" from the\n"
|
||||||
"| old cluster and restart the upgrade. A list\n"
|
"| old cluster and restart the upgrade. A list\n"
|
||||||
"| of the problem functions is in the file:\n"
|
"| of the problem functions is in the file:\n"
|
||||||
"| \t%s\n\n", output_path);
|
"| \t%s\n\n", output_path);
|
||||||
|
@ -330,7 +330,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
|
|||||||
pg_log(PG_FATAL, "%d: controldata retrieval problem\n", __LINE__);
|
pg_log(PG_FATAL, "%d: controldata retrieval problem\n", __LINE__);
|
||||||
|
|
||||||
p++; /* removing ':' char */
|
p++; /* removing ':' char */
|
||||||
/* used later for /contrib check */
|
/* used later for contrib check */
|
||||||
cluster->controldata.float8_pass_by_value = strstr(p, "by value") != NULL;
|
cluster->controldata.float8_pass_by_value = strstr(p, "by value") != NULL;
|
||||||
got_float8_pass_by_value = true;
|
got_float8_pass_by_value = true;
|
||||||
}
|
}
|
||||||
|
@ -2272,7 +2272,7 @@
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Modify <filename>/contrib</> modules and stored procedure
|
Modify <filename>contrib</> modules and stored procedure
|
||||||
languages to install via the new <link
|
languages to install via the new <link
|
||||||
linkend="extension">extension</link> mechanism (Tom Lane,
|
linkend="extension">extension</link> mechanism (Tom Lane,
|
||||||
Dimitri Fontaine)
|
Dimitri Fontaine)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user