jrgemignani commented on issue #1837:
URL: https://github.com/apache/age/issues/1837#issuecomment-2101208196
@devcode100 I have tried this against PostgreSQL version 16.2 and the
**master** branch, without issue -
```
psql-16.2-5432-pgsql=# drop extension age; create extension age; load 'age';
set search_path TO ag_catalog;
DROP EXTENSION
CREATE EXTENSION
LOAD
SET
psql-16.2-5432-pgsql=# select * from create_graph('test');
NOTICE: graph "test" has been created
create_graph
--------------
(1 row)
psql-16.2-5432-pgsql=# DO
$do$
BEGIN
FOR i in 1..10000000 LOOP
PERFORM * FROM cypher('test', $$ CREATE (:Category {name:
'CategoryTest1'}) CREATE (:Category {name: 'CategoryTest2'}) CREATE (:Category2
{name: 'CategoryTest1'}) CREATE (:Category2 {name: 'CategoryTest2'}) $$) AS
(result agtype);
end LOOP;
end
$do$;
DO
psql-16.2-5432-pgsql=# select * from cypher('test', $$ match (u) return
count(u) $$) as (result agtype);
result
----------
40000000
(1 row)
psql-16.2-5432-pgsql=#
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]