Skip to content

Commit f29baf9

Browse files
committed
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.
1 parent 98f58a3 commit f29baf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/uuid-ossp/uuid-ossp--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* contrib/uuid-ossp/uuid-ossp--1.0.sql */
22

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use "CREATE EXTENSION uuid-ossp" to load this file. \quit
4+
\echo Use '''CREATE EXTENSION "uuid-ossp"''' to load this file. \quit
55

66
CREATE FUNCTION uuid_nil()
77
RETURNS uuid

contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql */
22

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use "CREATE EXTENSION uuid-ossp" to load this file. \quit
4+
\echo Use '''CREATE EXTENSION "uuid-ossp"''' to load this file. \quit
55

66
ALTER EXTENSION "uuid-ossp" ADD function uuid_nil();
77
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_dns();

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