aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-11-22 12:07:53 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-11-22 12:07:53 -0500
commitf29baf92257ae614a2097b4e86b00e8a62802e2e (patch)
treecb1e0aed871a06117c7c338e7289821fe3dfa3f3
parent98f58a30c1beb6ec0870d6520f49fb40d9d0b566 (diff)
downloadpostgresql-f29baf92257ae614a2097b4e86b00e8a62802e2e.tar.gz
postgresql-f29baf92257ae614a2097b4e86b00e8a62802e2e.zip
Fix quoting in help messages in uuid-ossp extension scripts.
The command we're telling people to type needs to include double-quoting around the unfortunately-chosen extension name. Twiddle the textual quoting so that it looks somewhat sane. Per gripe from roadrunner6.
-rw-r--r--contrib/uuid-ossp/uuid-ossp--1.0.sql2
-rw-r--r--contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/uuid-ossp/uuid-ossp--1.0.sql b/contrib/uuid-ossp/uuid-ossp--1.0.sql
index 45ada1b23bc..042732065b3 100644
--- a/contrib/uuid-ossp/uuid-ossp--1.0.sql
+++ b/contrib/uuid-ossp/uuid-ossp--1.0.sql
@@ -1,7 +1,7 @@
/* contrib/uuid-ossp/uuid-ossp--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION uuid-ossp" to load this file. \quit
+\echo Use '''CREATE EXTENSION "uuid-ossp"''' to load this file. \quit
CREATE FUNCTION uuid_nil()
RETURNS uuid
diff --git a/contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql b/contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql
index 5c0dbfef9c0..5776b6f9300 100644
--- a/contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql
+++ b/contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql
@@ -1,7 +1,7 @@
/* contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION uuid-ossp" to load this file. \quit
+\echo Use '''CREATE EXTENSION "uuid-ossp"''' to load this file. \quit
ALTER EXTENSION "uuid-ossp" ADD function uuid_nil();
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_dns();