Commit ef441d2 1 parent a872917 commit ef441d2 Copy full SHA for ef441d2
File tree 3 files changed +12
-6
lines changed
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 15
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
16
*/
17
17
-- Regression tests don't preload extensions, gotta load it first
18
+ SET search_path TO postgraph;
18
19
LOAD 'postgraph';
19
20
CREATE EXTENSION postgraph;
20
21
ERROR: extension "postgraph" already exists
@@ -212,6 +213,12 @@ SELECT * FROM tst;
212
213
Hello
213
214
(1 row)
214
215
216
+ SELECT '"Hello"'::gtype = '"Hello"'::gtype;
217
+ ?column?
218
+ ----------
219
+ t
220
+ (1 row)
221
+
215
222
DROP GRAPH new_cypher CASCADE;
216
223
NOTICE: drop cascades to 2 other objects
217
224
DETAIL: drop cascades to table new_cypher._ag_label_vertex
Original file line number Diff line number Diff line change 15
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
16
*/
17
17
-- Regression tests don't preload extensions, gotta load it first
18
-
18
+ SET search_path TO postgraph;
19
19
LOAD ' postgraph' ;
20
20
21
21
CREATE EXTENSION postgraph;
@@ -108,5 +108,7 @@ INSERT INTO tst SELECT 'Hello';
108
108
109
109
SELECT * FROM tst;
110
110
111
+ SELECT ' "Hello"' ::gtype = ' "Hello"' ::gtype;
112
+
111
113
DROP GRAPH new_cypher CASCADE;
112
114
DROP GRAPH new_cypher_2 CASCADE;
Original file line number Diff line number Diff line change @@ -642,9 +642,6 @@ simple_select:
642
642
}
643
643
;
644
644
645
-
646
-
647
-
648
645
opt_all_clause :
649
646
ALL
650
647
| /* EMPTY*/
@@ -2142,9 +2139,9 @@ indirection_el:
2142
2139
* you expect! So we use %prec annotations freely to set precedences.
2143
2140
*/
2144
2141
a_expr : c_expr { $$ = $1 ; }
2145
- /* | a_expr TYPECAST Typename
2142
+ | a_expr TYPECAST Typename
2146
2143
{ $$ = makeTypeCast($1 , $3 , @2 ); }
2147
- | a_expr COLLATE any_name
2144
+ /* | a_expr COLLATE any_name
2148
2145
{
2149
2146
CollateClause *n = makeNode(CollateClause);
2150
2147
n->arg = $1;
You can’t perform that action at this time.
0 commit comments