File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22\echo You really, REALLY do NOT want to try and load this via psql!!!
33\echo It will FAIL during pg_dump! \quit
44
5- -- SET LOCAL, not SET: this script runs inside CREATE EXTENSION's implicit
6- -- transaction, so LOCAL reverts automatically once it commits -- a plain SET
7- -- would leak into the installing session for the rest of its lifetime.
8- -- Suppresses NOTICEs like the %TYPE resolution messages this script's many
9- -- column-type references (e.g. _object_oid.objid%TYPE) would otherwise spam
10- -- CREATE EXTENSION's output with.
5+ /*
6+ * SET LOCAL, not SET: this script runs inside CREATE EXTENSION's implicit
7+ * transaction, so LOCAL reverts automatically once it commits -- a plain SET
8+ * would leak into the installing session for the rest of its lifetime.
9+ * Suppresses NOTICEs like the %TYPE resolution messages this script's many
10+ * column-type references (e.g. _object_oid.objid%TYPE) would otherwise spam
11+ * CREATE EXTENSION's output with.
12+ */
1113SET LOCAL client_min_messages = WARNING;
1214
1315/*
Original file line number Diff line number Diff line change 22This extension must be loaded via CREATE EXTENSION object_reference;
33You really, REALLY do NOT want to try and load this via psql!!!
44
5- psql:test/temp_load.not_sql:184 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
5+ psql:test/temp_load.not_sql:186 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
66
7- psql:test/temp_load.not_sql:185 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
7+ psql:test/temp_load.not_sql:187 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
88
99
1010
1111
1212
1313
14- psql:test/temp_load.not_sql:433 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
14+ psql:test/temp_load.not_sql:435 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
1515
1616
1717
@@ -21,9 +21,9 @@ psql:test/temp_load.not_sql:433: WARNING: I promise you will be sorry if you tr
2121
2222
2323
24- psql:test/temp_load.not_sql:545 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
24+ psql:test/temp_load.not_sql:547 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
2525
26- psql:test/temp_load.not_sql:552 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
26+ psql:test/temp_load.not_sql:554 : WARNING: I promise you will be sorry if you try to use this as anything other than an extension!
2727
2828
2929
You can’t perform that action at this time.
0 commit comments