Skip to content

Commit 2fdcf34

Browse files
committed
Document new GQLSTATUS codes 51N76 and 42NAA
1 parent 6aca200 commit 2fdcf34

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
**** xref:errors/gql-errors/42NA7.adoc[]
355355
**** xref:errors/gql-errors/42NA8.adoc[]
356356
**** xref:errors/gql-errors/42NA9.adoc[]
357+
**** xref:errors/gql-errors/42NAA.adoc[]
357358
**** xref:errors/gql-errors/42NFC.adoc[]
358359
**** xref:errors/gql-errors/42NFD.adoc[]
359360
**** xref:errors/gql-errors/42NFE.adoc[]
@@ -452,6 +453,7 @@
452453
**** xref:errors/gql-errors/51N72.adoc[]
453454
**** xref:errors/gql-errors/51N73.adoc[]
454455
**** xref:errors/gql-errors/51N74.adoc[]
456+
**** xref:errors/gql-errors/51N76.adoc[]
455457
*** xref:errors/gql-errors/index.adoc#procedure-exceptions[Procedure exceptions]
456458
**** xref:errors/gql-errors/52N01.adoc[]
457459
**** xref:errors/gql-errors/52N02.adoc[]
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
= 42NAA
2+
3+
== Status description
4+
error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference `{ <<input>> }`. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.
5+
6+
== Explanation
7+
As of Cypher 25, database names and aliases cannot include name parts that are quoted individually.
8+
Either the whole name must be quoted, or the whole name must be unquoted.
9+
10+
== Example scenario
11+
For example, try to create a database with :
12+
13+
[source,cypher]
14+
----
15+
CREATE DATABASE `foo`.`bar`
16+
----
17+
18+
An error will be thrown with GQLSTATUS 42NAA and the status description:
19+
20+
[source]
21+
----
22+
error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference '`foo`.`bar`'. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.
23+
----
24+
25+
In this example scenario, the correct quoting would either be
26+
27+
[source,cypher]
28+
----
29+
CREATE DATABASE `foo.bar`
30+
----
31+
32+
or
33+
34+
[source,cypher]
35+
----
36+
CREATE DATABASE foo.bar
37+
----
38+
39+
ifndef::backend-pdf[]
40+
[discrete.glossary]
41+
== Glossary
42+
43+
include::partial$glossary.adoc[]
44+
endif::[]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
= 51N76
2+
3+
4+
== Status description
5+
error: system configuration or operation exception - upgrade failed. The upgrade to a new Neo4j version failed.
6+
7+
== Explanation
8+
This error code can occur during a dbms upgrade to a new Neo4j version, in the rare case that something in the user's setup or dbms environment prevented the dbms from upgrading.
9+
The error will be accompanied by a cause with a more concrete GQLSTATUS, describing what the user needs to change before retrying the upgrade.
10+
11+
ifndef::backend-pdf[]
12+
[discrete.glossary]
13+
== Glossary
14+
15+
include::partial$glossary.adoc[]
16+
endif::[]

0 commit comments

Comments
 (0)