We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Consider renaming std::datetime_trunc to std::datetime_truncate
We generally don't use abbreviations in our functions naming and this looks like an oversight.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `edb/edgeql/pygments/meta.py`
Content:
```
1 # AUTOGENERATED BY EdgeDB WITH
2 #     $ edb gen-meta-grammars edgeql
3 
4 
5 from __future__ import annotations
6 
7 
8 class EdgeQL:
9     reserved_keywords = (
10         "__source__",
11         "__subject__",
12         "__type__",
13         "alter",
14         "analyze",
15         "and",
16         "anyarray",
17         "anytuple",
18         "anytype",
19         "begin",
20         "case",
21         "check",
22         "commit",
23         "configure",
24         "create",
25         "deallocate",
26         "declare",
27         "delete",
28         "describe",
29         "detached",
30         "discard",
31         "distinct",
32         "do",
33         "drop",
34         "else",
35         "empty",
36         "end",
37         "execute",
38         "exists",
39         "explain",
40         "extending",
41         "fetch",
42         "filter",
43         "for",
44         "function",
45         "get",
46         "global",
47         "grant",
48         "group",
49         "if",
50         "ilike",
51         "import",
52         "in",
53         "insert",
54         "introspect",
55         "is",
56         "like",
57         "limit",
58         "listen",
59         "load",
60         "lock",
61         "match",
62         "module",
63         "move",
64         "not",
65         "notify",
66         "offset",
67         "optional",
68         "or",
69         "order",
70         "over",
71         "partition",
72         "policy",
73         "prepare",
74         "raise",
75         "refresh",
76         "reindex",
77         "release",
78         "reset",
79         "revoke",
80         "rollback",
81         "select",
82         "set",
83         "start",
84         "typeof",
85         "union",
86         "update",
87         "variadic",
88         "when",
89         "window",
90         "with",
91     )
92     unreserved_keywords = (
93         "abstract",
94         "after",
95         "alias",
96         "all",
97         "allow",
98         "annotation",
99         "as",
100         "asc",
101         "assignment",
102         "before",
103         "by",
104         "cardinality",
105         "cast",
106         "config",
107         "constraint",
108         "database",
109         "ddl",
110         "default",
111         "deferrable",
112         "deferred",
113         "delegated",
114         "desc",
115         "emit",
116         "explicit",
117         "expression",
118         "final",
119         "first",
120         "from",
121         "implicit",
122         "index",
123         "infix",
124         "inheritable",
125         "into",
126         "isolation",
127         "last",
128         "link",
129         "migration",
130         "multi",
131         "named",
132         "object",
133         "of",
134         "oids",
135         "on",
136         "only",
137         "operator",
138         "overloaded",
139         "postfix",
140         "prefix",
141         "property",
142         "read",
143         "rename",
144         "repeatable",
145         "required",
146         "restrict",
147         "role",
148         "savepoint",
149         "scalar",
150         "schema",
151         "sdl",
152         "serializable",
153         "session",
154         "single",
155         "source",
156         "system",
157         "target",
158         "ternary",
159         "text",
160         "then",
161         "to",
162         "transaction",
163         "type",
164         "using",
165         "verbose",
166         "view",
167         "write",
168     )
169     bool_literals = (
170         "false",
171         "true",
172     )
173     type_builtins = (
174         "Object",
175         "anyenum",
176         "anyfloat",
177         "anyint",
178         "anyreal",
179         "anyscalar",
180         "array",
181         "bool",
182         "bytes",
183         "datetime",
184         "decimal",
185         "duration",
186         "enum",
187         "float32",
188         "float64",
189         "int16",
190         "int32",
191         "int64",
192         "json",
193         "local_date",
194         "local_datetime",
195         "local_time",
196         "sequence",
197         "str",
198         "tuple",
199         "uuid",
200     )
201     module_builtins = (
202         "cfg",
203         "math",
204         "schema",
205         "std",
206         "stdgraphql",
207         "sys",
208         "cal",
209     )
210     constraint_builtins = (
211         "constraint",
212         "exclusive",
213         "expression",
214         "len_value",
215         "max_ex_value",
216         "max_len_value",
217         "max_value",
218         "min_ex_value",
219         "min_len_value",
220         "min_value",
221         "one_of",
222         "regexp",
223     )
224     fn_builtins = (
225         "abs",
226         "advisory_lock",
227         "advisory_unlock",
228         "advisory_unlock_all",
229         "all",
230         "any",
231         "array_agg",
232         "array_get",
233         "array_unpack",
234         "bytes_get_bit",
235         "ceil",
236         "contains",
237         "count",
238         "date_get",
239         "datetime_current",
240         "datetime_get",
241         "datetime_of_statement",
242         "datetime_of_transaction",
243         "datetime_trunc",
244         "duration_trunc",
245         "enumerate",
246         "find",
247         "floor",
248         "get_transaction_isolation",
249         "get_version",
250         "get_version_as_str",
251         "json_array_unpack",
252         "json_get",
253         "json_object_unpack",
254         "json_typeof",
255         "len",
256         "lg",
257         "ln",
258         "log",
259         "max",
260         "mean",
261         "min",
262         "random",
263         "re_match",
264         "re_match_all",
265         "re_replace",
266         "re_test",
267         "round",
268         "sleep",
269         "stddev",
270         "stddev_pop",
271         "str_lower",
272         "str_lpad",
273         "str_ltrim",
274         "str_repeat",
275         "str_rpad",
276         "str_rtrim",
277         "str_title",
278         "str_trim",
279         "str_upper",
280         "sum",
281         "time_get",
282         "to_datetime",
283         "to_decimal",
284         "to_duration",
285         "to_float32",
286         "to_float64",
287         "to_int16",
288         "to_int32",
289         "to_int64",
290         "to_json",
291         "to_local_date",
292         "to_local_datetime",
293         "to_local_time",
294         "to_str",
295         "uuid_generate_v1mc",
296         "var",
297         "var_pop",
298     )
299     operators = (
300         "!=",
301         "%",
302         "*",
303         "+",
304         "++",
305         "-",
306         "/",
307         "//",
308         ":=",
309         "<",
310         "<=",
311         "=",
312         ">",
313         ">=",
314         "?!=",
315         "?=",
316         "??",
317         "^",
318     )
319     navigation = (
320         ".<",
321         ".>",
322         "@",
323         ".",
324     )
325
```

Path: `edb/server/defines.py`
Content:
```
1 #
2 # This source file is part of the EdgeDB open source project.
3 #
4 # Copyright 2016-present MagicStack Inc. and the EdgeDB authors.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 
19 
20 from __future__ import annotations
21 
22 EDGEDB_PORT = 5656
23 EDGEDB_SUPERUSER = 'edgedb'
24 EDGEDB_TEMPLATE_DB = 'edgedb0'
25 EDGEDB_SUPERUSER_DB = 'edgedb'
26 EDGEDB_ENCODING = 'utf-8'
27 EDGEDB_VISIBLE_METADATA_PREFIX = r'EdgeDB metadata follows, do not modify.\n'
28 
29 # Increment this whenever the database layout or stdlib changes.
30 EDGEDB_CATALOG_VERSION = 20191219_00_00
31 
32 # Resource limit on open FDs for the server process.
33 # By default, at least on macOS, the max number of open FDs
34 # is 256, which is low and can cause 'edb test' to hang.
35 # We try to bump the rlimit on server start if pemitted.
36 EDGEDB_MIN_RLIMIT_NOFILE = 2048
37 
38 
39 _MAX_QUERIES_CACHE = 1000
40 
41 _QUERY_ROLLING_AVG_LEN = 10
42 _QUERIES_ROLLING_AVG_LEN = 300
43 
44 DEFAULT_MODULE_ALIAS = 'default'
45 
46 
47 HTTP_PORT_QUERY_CACHE_SIZE = 500
48 HTTP_PORT_MAX_CONCURRENCY = 250
49
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/edb/edgeql/pygments/meta.py b/edb/edgeql/pygments/meta.py
--- a/edb/edgeql/pygments/meta.py
+++ b/edb/edgeql/pygments/meta.py
@@ -240,8 +240,8 @@
         "datetime_get",
         "datetime_of_statement",
         "datetime_of_transaction",
-        "datetime_trunc",
-        "duration_trunc",
+        "datetime_truncate",
+        "duration_truncate",
         "enumerate",
         "find",
         "floor",
diff --git a/edb/server/defines.py b/edb/server/defines.py
--- a/edb/server/defines.py
+++ b/edb/server/defines.py
@@ -27,7 +27,7 @@
 EDGEDB_VISIBLE_METADATA_PREFIX = r'EdgeDB metadata follows, do not modify.\n'
 
 # Increment this whenever the database layout or stdlib changes.
-EDGEDB_CATALOG_VERSION = 20191219_00_00
+EDGEDB_CATALOG_VERSION = 20191220_00_00
 
 # Resource limit on open FDs for the server process.
 # By default, at least on macOS, the max number of open FDs

{"golden_diff": "diff --git a/edb/edgeql/pygments/meta.py b/edb/edgeql/pygments/meta.py\n--- a/edb/edgeql/pygments/meta.py\n+++ b/edb/edgeql/pygments/meta.py\n@@ -240,8 +240,8 @@\n         \"datetime_get\",\n         \"datetime_of_statement\",\n         \"datetime_of_transaction\",\n-        \"datetime_trunc\",\n-        \"duration_trunc\",\n+        \"datetime_truncate\",\n+        \"duration_truncate\",\n         \"enumerate\",\n         \"find\",\n         \"floor\",\ndiff --git a/edb/server/defines.py b/edb/server/defines.py\n--- a/edb/server/defines.py\n+++ b/edb/server/defines.py\n@@ -27,7 +27,7 @@\n EDGEDB_VISIBLE_METADATA_PREFIX = r'EdgeDB metadata follows, do not modify.\\n'\n \n # Increment this whenever the database layout or stdlib changes.\n-EDGEDB_CATALOG_VERSION = 20191219_00_00\n+EDGEDB_CATALOG_VERSION = 20191220_00_00\n \n # Resource limit on open FDs for the server process.\n # By default, at least on macOS, the max number of open FDs\n", "issue": "Consider renaming std::datetime_trunc to std::datetime_truncate\nWe generally don't use abbreviations in our functions naming and this looks like an oversight.\n", "before_files": [{"content": "# AUTOGENERATED BY EdgeDB WITH\n#     $ edb gen-meta-grammars edgeql\n\n\nfrom __future__ import annotations\n\n\nclass EdgeQL:\n    reserved_keywords = (\n        \"__source__\",\n        \"__subject__\",\n        \"__type__\",\n        \"alter\",\n        \"analyze\",\n        \"and\",\n        \"anyarray\",\n        \"anytuple\",\n        \"anytype\",\n        \"begin\",\n        \"case\",\n        \"check\",\n        \"commit\",\n        \"configure\",\n        \"create\",\n        \"deallocate\",\n        \"declare\",\n        \"delete\",\n        \"describe\",\n        \"detached\",\n        \"discard\",\n        \"distinct\",\n        \"do\",\n        \"drop\",\n        \"else\",\n        \"empty\",\n        \"end\",\n        \"execute\",\n        \"exists\",\n        \"explain\",\n        \"extending\",\n        \"fetch\",\n        \"filter\",\n        \"for\",\n        \"function\",\n        \"get\",\n        \"global\",\n        \"grant\",\n        \"group\",\n        \"if\",\n        \"ilike\",\n        \"import\",\n        \"in\",\n        \"insert\",\n        \"introspect\",\n        \"is\",\n        \"like\",\n        \"limit\",\n        \"listen\",\n        \"load\",\n        \"lock\",\n        \"match\",\n        \"module\",\n        \"move\",\n        \"not\",\n        \"notify\",\n        \"offset\",\n        \"optional\",\n        \"or\",\n        \"order\",\n        \"over\",\n        \"partition\",\n        \"policy\",\n        \"prepare\",\n        \"raise\",\n        \"refresh\",\n        \"reindex\",\n        \"release\",\n        \"reset\",\n        \"revoke\",\n        \"rollback\",\n        \"select\",\n        \"set\",\n        \"start\",\n        \"typeof\",\n        \"union\",\n        \"update\",\n        \"variadic\",\n        \"when\",\n        \"window\",\n        \"with\",\n    )\n    unreserved_keywords = (\n        \"abstract\",\n        \"after\",\n        \"alias\",\n        \"all\",\n        \"allow\",\n        \"annotation\",\n        \"as\",\n        \"asc\",\n        \"assignment\",\n        \"before\",\n        \"by\",\n        \"cardinality\",\n        \"cast\",\n        \"config\",\n        \"constraint\",\n        \"database\",\n        \"ddl\",\n        \"default\",\n        \"deferrable\",\n        \"deferred\",\n        \"delegated\",\n        \"desc\",\n        \"emit\",\n        \"explicit\",\n        \"expression\",\n        \"final\",\n        \"first\",\n        \"from\",\n        \"implicit\",\n        \"index\",\n        \"infix\",\n        \"inheritable\",\n        \"into\",\n        \"isolation\",\n        \"last\",\n        \"link\",\n        \"migration\",\n        \"multi\",\n        \"named\",\n        \"object\",\n        \"of\",\n        \"oids\",\n        \"on\",\n        \"only\",\n        \"operator\",\n        \"overloaded\",\n        \"postfix\",\n        \"prefix\",\n        \"property\",\n        \"read\",\n        \"rename\",\n        \"repeatable\",\n        \"required\",\n        \"restrict\",\n        \"role\",\n        \"savepoint\",\n        \"scalar\",\n        \"schema\",\n        \"sdl\",\n        \"serializable\",\n        \"session\",\n        \"single\",\n        \"source\",\n        \"system\",\n        \"target\",\n        \"ternary\",\n        \"text\",\n        \"then\",\n        \"to\",\n        \"transaction\",\n        \"type\",\n        \"using\",\n        \"verbose\",\n        \"view\",\n        \"write\",\n    )\n    bool_literals = (\n        \"false\",\n        \"true\",\n    )\n    type_builtins = (\n        \"Object\",\n        \"anyenum\",\n        \"anyfloat\",\n        \"anyint\",\n        \"anyreal\",\n        \"anyscalar\",\n        \"array\",\n        \"bool\",\n        \"bytes\",\n        \"datetime\",\n        \"decimal\",\n        \"duration\",\n        \"enum\",\n        \"float32\",\n        \"float64\",\n        \"int16\",\n        \"int32\",\n        \"int64\",\n        \"json\",\n        \"local_date\",\n        \"local_datetime\",\n        \"local_time\",\n        \"sequence\",\n        \"str\",\n        \"tuple\",\n        \"uuid\",\n    )\n    module_builtins = (\n        \"cfg\",\n        \"math\",\n        \"schema\",\n        \"std\",\n        \"stdgraphql\",\n        \"sys\",\n        \"cal\",\n    )\n    constraint_builtins = (\n        \"constraint\",\n        \"exclusive\",\n        \"expression\",\n        \"len_value\",\n        \"max_ex_value\",\n        \"max_len_value\",\n        \"max_value\",\n        \"min_ex_value\",\n        \"min_len_value\",\n        \"min_value\",\n        \"one_of\",\n        \"regexp\",\n    )\n    fn_builtins = (\n        \"abs\",\n        \"advisory_lock\",\n        \"advisory_unlock\",\n        \"advisory_unlock_all\",\n        \"all\",\n        \"any\",\n        \"array_agg\",\n        \"array_get\",\n        \"array_unpack\",\n        \"bytes_get_bit\",\n        \"ceil\",\n        \"contains\",\n        \"count\",\n        \"date_get\",\n        \"datetime_current\",\n        \"datetime_get\",\n        \"datetime_of_statement\",\n        \"datetime_of_transaction\",\n        \"datetime_trunc\",\n        \"duration_trunc\",\n        \"enumerate\",\n        \"find\",\n        \"floor\",\n        \"get_transaction_isolation\",\n        \"get_version\",\n        \"get_version_as_str\",\n        \"json_array_unpack\",\n        \"json_get\",\n        \"json_object_unpack\",\n        \"json_typeof\",\n        \"len\",\n        \"lg\",\n        \"ln\",\n        \"log\",\n        \"max\",\n        \"mean\",\n        \"min\",\n        \"random\",\n        \"re_match\",\n        \"re_match_all\",\n        \"re_replace\",\n        \"re_test\",\n        \"round\",\n        \"sleep\",\n        \"stddev\",\n        \"stddev_pop\",\n        \"str_lower\",\n        \"str_lpad\",\n        \"str_ltrim\",\n        \"str_repeat\",\n        \"str_rpad\",\n        \"str_rtrim\",\n        \"str_title\",\n        \"str_trim\",\n        \"str_upper\",\n        \"sum\",\n        \"time_get\",\n        \"to_datetime\",\n        \"to_decimal\",\n        \"to_duration\",\n        \"to_float32\",\n        \"to_float64\",\n        \"to_int16\",\n        \"to_int32\",\n        \"to_int64\",\n        \"to_json\",\n        \"to_local_date\",\n        \"to_local_datetime\",\n        \"to_local_time\",\n        \"to_str\",\n        \"uuid_generate_v1mc\",\n        \"var\",\n        \"var_pop\",\n    )\n    operators = (\n        \"!=\",\n        \"%\",\n        \"*\",\n        \"+\",\n        \"++\",\n        \"-\",\n        \"/\",\n        \"//\",\n        \":=\",\n        \"<\",\n        \"<=\",\n        \"=\",\n        \">\",\n        \">=\",\n        \"?!=\",\n        \"?=\",\n        \"??\",\n        \"^\",\n    )\n    navigation = (\n        \".<\",\n        \".>\",\n        \"@\",\n        \".\",\n    )\n", "path": "edb/edgeql/pygments/meta.py"}, {"content": "#\n# This source file is part of the EdgeDB open source project.\n#\n# Copyright 2016-present MagicStack Inc. and the EdgeDB authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n\nfrom __future__ import annotations\n\nEDGEDB_PORT = 5656\nEDGEDB_SUPERUSER = 'edgedb'\nEDGEDB_TEMPLATE_DB = 'edgedb0'\nEDGEDB_SUPERUSER_DB = 'edgedb'\nEDGEDB_ENCODING = 'utf-8'\nEDGEDB_VISIBLE_METADATA_PREFIX = r'EdgeDB metadata follows, do not modify.\\n'\n\n# Increment this whenever the database layout or stdlib changes.\nEDGEDB_CATALOG_VERSION = 20191219_00_00\n\n# Resource limit on open FDs for the server process.\n# By default, at least on macOS, the max number of open FDs\n# is 256, which is low and can cause 'edb test' to hang.\n# We try to bump the rlimit on server start if pemitted.\nEDGEDB_MIN_RLIMIT_NOFILE = 2048\n\n\n_MAX_QUERIES_CACHE = 1000\n\n_QUERY_ROLLING_AVG_LEN = 10\n_QUERIES_ROLLING_AVG_LEN = 300\n\nDEFAULT_MODULE_ALIAS = 'default'\n\n\nHTTP_PORT_QUERY_CACHE_SIZE = 500\nHTTP_PORT_MAX_CONCURRENCY = 250\n", "path": "edb/server/defines.py"}], "after_files": [{"content": "# AUTOGENERATED BY EdgeDB WITH\n#     $ edb gen-meta-grammars edgeql\n\n\nfrom __future__ import annotations\n\n\nclass EdgeQL:\n    reserved_keywords = (\n        \"__source__\",\n        \"__subject__\",\n        \"__type__\",\n        \"alter\",\n        \"analyze\",\n        \"and\",\n        \"anyarray\",\n        \"anytuple\",\n        \"anytype\",\n        \"begin\",\n        \"case\",\n        \"check\",\n        \"commit\",\n        \"configure\",\n        \"create\",\n        \"deallocate\",\n        \"declare\",\n        \"delete\",\n        \"describe\",\n        \"detached\",\n        \"discard\",\n        \"distinct\",\n        \"do\",\n        \"drop\",\n        \"else\",\n        \"empty\",\n        \"end\",\n        \"execute\",\n        \"exists\",\n        \"explain\",\n        \"extending\",\n        \"fetch\",\n        \"filter\",\n        \"for\",\n        \"function\",\n        \"get\",\n        \"global\",\n        \"grant\",\n        \"group\",\n        \"if\",\n        \"ilike\",\n        \"import\",\n        \"in\",\n        \"insert\",\n        \"introspect\",\n        \"is\",\n        \"like\",\n        \"limit\",\n        \"listen\",\n        \"load\",\n        \"lock\",\n        \"match\",\n        \"module\",\n        \"move\",\n        \"not\",\n        \"notify\",\n        \"offset\",\n        \"optional\",\n        \"or\",\n        \"order\",\n        \"over\",\n        \"partition\",\n        \"policy\",\n        \"prepare\",\n        \"raise\",\n        \"refresh\",\n        \"reindex\",\n        \"release\",\n        \"reset\",\n        \"revoke\",\n        \"rollback\",\n        \"select\",\n        \"set\",\n        \"start\",\n        \"typeof\",\n        \"union\",\n        \"update\",\n        \"variadic\",\n        \"when\",\n        \"window\",\n        \"with\",\n    )\n    unreserved_keywords = (\n        \"abstract\",\n        \"after\",\n        \"alias\",\n        \"all\",\n        \"allow\",\n        \"annotation\",\n        \"as\",\n        \"asc\",\n        \"assignment\",\n        \"before\",\n        \"by\",\n        \"cardinality\",\n        \"cast\",\n        \"config\",\n        \"constraint\",\n        \"database\",\n        \"ddl\",\n        \"default\",\n        \"deferrable\",\n        \"deferred\",\n        \"delegated\",\n        \"desc\",\n        \"emit\",\n        \"explicit\",\n        \"expression\",\n        \"final\",\n        \"first\",\n        \"from\",\n        \"implicit\",\n        \"index\",\n        \"infix\",\n        \"inheritable\",\n        \"into\",\n        \"isolation\",\n        \"last\",\n        \"link\",\n        \"migration\",\n        \"multi\",\n        \"named\",\n        \"object\",\n        \"of\",\n        \"oids\",\n        \"on\",\n        \"only\",\n        \"operator\",\n        \"overloaded\",\n        \"postfix\",\n        \"prefix\",\n        \"property\",\n        \"read\",\n        \"rename\",\n        \"repeatable\",\n        \"required\",\n        \"restrict\",\n        \"role\",\n        \"savepoint\",\n        \"scalar\",\n        \"schema\",\n        \"sdl\",\n        \"serializable\",\n        \"session\",\n        \"single\",\n        \"source\",\n        \"system\",\n        \"target\",\n        \"ternary\",\n        \"text\",\n        \"then\",\n        \"to\",\n        \"transaction\",\n        \"type\",\n        \"using\",\n        \"verbose\",\n        \"view\",\n        \"write\",\n    )\n    bool_literals = (\n        \"false\",\n        \"true\",\n    )\n    type_builtins = (\n        \"Object\",\n        \"anyenum\",\n        \"anyfloat\",\n        \"anyint\",\n        \"anyreal\",\n        \"anyscalar\",\n        \"array\",\n        \"bool\",\n        \"bytes\",\n        \"datetime\",\n        \"decimal\",\n        \"duration\",\n        \"enum\",\n        \"float32\",\n        \"float64\",\n        \"int16\",\n        \"int32\",\n        \"int64\",\n        \"json\",\n        \"local_date\",\n        \"local_datetime\",\n        \"local_time\",\n        \"sequence\",\n        \"str\",\n        \"tuple\",\n        \"uuid\",\n    )\n    module_builtins = (\n        \"cfg\",\n        \"math\",\n        \"schema\",\n        \"std\",\n        \"stdgraphql\",\n        \"sys\",\n        \"cal\",\n    )\n    constraint_builtins = (\n        \"constraint\",\n        \"exclusive\",\n        \"expression\",\n        \"len_value\",\n        \"max_ex_value\",\n        \"max_len_value\",\n        \"max_value\",\n        \"min_ex_value\",\n        \"min_len_value\",\n        \"min_value\",\n        \"one_of\",\n        \"regexp\",\n    )\n    fn_builtins = (\n        \"abs\",\n        \"advisory_lock\",\n        \"advisory_unlock\",\n        \"advisory_unlock_all\",\n        \"all\",\n        \"any\",\n        \"array_agg\",\n        \"array_get\",\n        \"array_unpack\",\n        \"bytes_get_bit\",\n        \"ceil\",\n        \"contains\",\n        \"count\",\n        \"date_get\",\n        \"datetime_current\",\n        \"datetime_get\",\n        \"datetime_of_statement\",\n        \"datetime_of_transaction\",\n        \"datetime_truncate\",\n        \"duration_truncate\",\n        \"enumerate\",\n        \"find\",\n        \"floor\",\n        \"get_transaction_isolation\",\n        \"get_version\",\n        \"get_version_as_str\",\n        \"json_array_unpack\",\n        \"json_get\",\n        \"json_object_unpack\",\n        \"json_typeof\",\n        \"len\",\n        \"lg\",\n        \"ln\",\n        \"log\",\n        \"max\",\n        \"mean\",\n        \"min\",\n        \"random\",\n        \"re_match\",\n        \"re_match_all\",\n        \"re_replace\",\n        \"re_test\",\n        \"round\",\n        \"sleep\",\n        \"stddev\",\n        \"stddev_pop\",\n        \"str_lower\",\n        \"str_lpad\",\n        \"str_ltrim\",\n        \"str_repeat\",\n        \"str_rpad\",\n        \"str_rtrim\",\n        \"str_title\",\n        \"str_trim\",\n        \"str_upper\",\n        \"sum\",\n        \"time_get\",\n        \"to_datetime\",\n        \"to_decimal\",\n        \"to_duration\",\n        \"to_float32\",\n        \"to_float64\",\n        \"to_int16\",\n        \"to_int32\",\n        \"to_int64\",\n        \"to_json\",\n        \"to_local_date\",\n        \"to_local_datetime\",\n        \"to_local_time\",\n        \"to_str\",\n        \"uuid_generate_v1mc\",\n        \"var\",\n        \"var_pop\",\n    )\n    operators = (\n        \"!=\",\n        \"%\",\n        \"*\",\n        \"+\",\n        \"++\",\n        \"-\",\n        \"/\",\n        \"//\",\n        \":=\",\n        \"<\",\n        \"<=\",\n        \"=\",\n        \">\",\n        \">=\",\n        \"?!=\",\n        \"?=\",\n        \"??\",\n        \"^\",\n    )\n    navigation = (\n        \".<\",\n        \".>\",\n        \"@\",\n        \".\",\n    )\n", "path": "edb/edgeql/pygments/meta.py"}, {"content": "#\n# This source file is part of the EdgeDB open source project.\n#\n# Copyright 2016-present MagicStack Inc. and the EdgeDB authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n\nfrom __future__ import annotations\n\nEDGEDB_PORT = 5656\nEDGEDB_SUPERUSER = 'edgedb'\nEDGEDB_TEMPLATE_DB = 'edgedb0'\nEDGEDB_SUPERUSER_DB = 'edgedb'\nEDGEDB_ENCODING = 'utf-8'\nEDGEDB_VISIBLE_METADATA_PREFIX = r'EdgeDB metadata follows, do not modify.\\n'\n\n# Increment this whenever the database layout or stdlib changes.\nEDGEDB_CATALOG_VERSION = 20191220_00_00\n\n# Resource limit on open FDs for the server process.\n# By default, at least on macOS, the max number of open FDs\n# is 256, which is low and can cause 'edb test' to hang.\n# We try to bump the rlimit on server start if pemitted.\nEDGEDB_MIN_RLIMIT_NOFILE = 2048\n\n\n_MAX_QUERIES_CACHE = 1000\n\n_QUERY_ROLLING_AVG_LEN = 10\n_QUERIES_ROLLING_AVG_LEN = 300\n\nDEFAULT_MODULE_ALIAS = 'default'\n\n\nHTTP_PORT_QUERY_CACHE_SIZE = 500\nHTTP_PORT_MAX_CONCURRENCY = 250\n", "path": "edb/server/defines.py"}]}