dehowef opened a new issue, #1257:
URL: https://github.com/apache/age/issues/1257
**Describe the bug**
A clear and concise description of what the bug is.
**How are you accessing AGE (Command line, driver, etc.)?**
- [e.g. JDBC]
AGE 1.6.0 on PG15
**What is the command that caused the error?**
I will explain it via example:
```pgsql
create_graph('graph1');
create_graph('graph2);
create_vlabel('graph1', 'label_exclusive_to_graph1');
SELECT * FROM cypher('graph2', $$CREATE (a:label_exclusive_to_graph1
{name:'a'}),
$$) AS (a agtype);
```
When you drop the schemas, this will crash your database.
```pgsql
DROP SCHEMA graph2 CASCADE;
psql:age_install.sql:2: ERROR: label (relation) cache corrupted
psql:age_install.sql:2: FATAL: terminating connection because protocol
synchronization was lost
psql:age_install.sql:2: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
psql:age_install.sql:2: error: connection to server was lost
```
**Expected behavior**
No database crash. Label implementation needs to be reconsidered/fixed
--
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]