prostgles-server 4.2.648 → 4.2.650
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug/als-build.log +4 -0
- package/debug/als-e2e.log +1747 -0
- package/debug/als-lint.log +4 -0
- package/debug/als-npm-test.log +712 -0
- package/debug/als-row-parts-e2e.log +1759 -0
- package/debug/als-row-parts-npm-test.log +716 -0
- package/debug/als-typecheck.log +8 -0
- package/debug/als-unified-build.log +4 -0
- package/debug/als-unified-lint.log +4 -0
- package/debug/als-unified-test-build.log +11 -0
- package/debug/als-unified-test-server.log +3444 -0
- package/debug/table-config-build.log +4 -0
- package/debug/table-config-npm-test.log +4731 -0
- package/debug/table-config-regression-after.log +3439 -0
- package/debug/table-config-regression-before.log +3448 -0
- package/debug/table-config-test-build.log +0 -0
- package/debug/version-bump-review-test.log +1839 -0
- package/dist/Audit/AuditTable.d.ts +1 -1
- package/dist/DboBuilder/DboBuilder.d.ts.map +1 -1
- package/dist/DboBuilder/DboBuilder.js +4 -2
- package/dist/DboBuilder/DboBuilder.js.map +1 -1
- package/dist/DboBuilder/DboBuilder.spec.js +3 -1
- package/dist/DboBuilder/DboBuilder.spec.js.map +1 -1
- package/dist/DboBuilder/TableHandler/TableHandler.d.ts.map +1 -1
- package/dist/DboBuilder/TableHandler/TableHandler.js +3 -2
- package/dist/DboBuilder/TableHandler/TableHandler.js.map +1 -1
- package/dist/DboBuilder/TableHandler/delete.d.ts.map +1 -1
- package/dist/DboBuilder/TableHandler/delete.js +4 -3
- package/dist/DboBuilder/TableHandler/delete.js.map +1 -1
- package/dist/DboBuilder/TableHandler/executeAfterHooksCheckAndPostValidation.d.ts.map +1 -1
- package/dist/DboBuilder/TableHandler/executeAfterHooksCheckAndPostValidation.js +7 -6
- package/dist/DboBuilder/TableHandler/executeAfterHooksCheckAndPostValidation.js.map +1 -1
- package/dist/DboBuilder/ViewHandler/ViewHandler.d.ts +1 -1
- package/dist/DboBuilder/ViewHandler/ViewHandler.d.ts.map +1 -1
- package/dist/DboBuilder/schema/getTablesForSchemaPostgresSQL.d.ts +2 -2
- package/dist/ExecutionContext.d.ts +32 -0
- package/dist/ExecutionContext.d.ts.map +1 -0
- package/dist/ExecutionContext.js +25 -0
- package/dist/ExecutionContext.js.map +1 -0
- package/dist/JSONBSchemaValidation/validateJSONBSchemaSQL.d.ts +1 -1
- package/dist/Prostgles.d.ts +5 -0
- package/dist/Prostgles.d.ts.map +1 -1
- package/dist/Prostgles.js +5 -0
- package/dist/Prostgles.js.map +1 -1
- package/dist/PubSubManager/PubSubManager.d.ts +1 -1
- package/dist/PubSubManager/init/getPubSubManagerInitQuery.d.ts.map +1 -1
- package/dist/PubSubManager/init/getPubSubManagerInitQuery.js +11 -3
- package/dist/PubSubManager/init/getPubSubManagerInitQuery.js.map +1 -1
- package/dist/PublishParser/PublishParser.d.ts.map +1 -1
- package/dist/PublishParser/PublishParser.js +14 -1
- package/dist/PublishParser/PublishParser.js.map +1 -1
- package/dist/PublishParser/getFunctionRelatedRecords.d.ts +5 -0
- package/dist/PublishParser/getFunctionRelatedRecords.d.ts.map +1 -0
- package/dist/PublishParser/getFunctionRelatedRecords.js +26 -0
- package/dist/PublishParser/getFunctionRelatedRecords.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/initProstgles.d.ts +3 -0
- package/dist/initProstgles.d.ts.map +1 -1
- package/dist/initProstgles.js +1 -0
- package/dist/initProstgles.js.map +1 -1
- package/dist/runClientRequest.d.ts.map +1 -1
- package/dist/runClientRequest.js +6 -1
- package/dist/runClientRequest.js.map +1 -1
- package/lib/DboBuilder/DboBuilder.spec.ts +3 -7
- package/lib/DboBuilder/DboBuilder.ts +4 -2
- package/lib/DboBuilder/TableHandler/TableHandler.ts +14 -11
- package/lib/DboBuilder/TableHandler/delete.ts +14 -11
- package/lib/DboBuilder/TableHandler/executeAfterHooksCheckAndPostValidation.ts +28 -21
- package/lib/ExecutionContext.ts +60 -0
- package/lib/Prostgles.ts +8 -4
- package/lib/PubSubManager/init/getPubSubManagerInitQuery.ts +11 -3
- package/lib/PublishParser/PublishParser.ts +17 -1
- package/lib/PublishParser/getFunctionRelatedRecords.ts +25 -0
- package/lib/index.ts +2 -4
- package/lib/initProstgles.ts +5 -4
- package/lib/runClientRequest.ts +16 -8
- package/package.json +1 -1
|
@@ -0,0 +1,4731 @@
|
|
|
1
|
+
|
|
2
|
+
> prostgles-server@4.2.649 test
|
|
3
|
+
> npm run test:lib && npm run test-only
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> prostgles-server@4.2.649 test:lib
|
|
7
|
+
> rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && npm run lint -- --ignore-pattern tests && tsc && node --trace-uncaught --test dist/**/*.spec.js
|
|
8
|
+
|
|
9
|
+
npm warn deprecated eslint@9.39.5: This version is no longer supported. Please see https://eslint.org/version-support for other options.
|
|
10
|
+
|
|
11
|
+
> prostgles-server@4.2.649 prepare
|
|
12
|
+
> npm run build
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
> prostgles-server@4.2.649 build
|
|
16
|
+
> tsc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
added 226 packages, and audited 227 packages in 5s
|
|
20
|
+
|
|
21
|
+
51 packages are looking for funding
|
|
22
|
+
run `npm fund` for details
|
|
23
|
+
|
|
24
|
+
3 vulnerabilities (1 moderate, 2 high)
|
|
25
|
+
|
|
26
|
+
To address issues that do not require attention, run:
|
|
27
|
+
npm audit fix
|
|
28
|
+
|
|
29
|
+
To address all issues (including breaking changes), run:
|
|
30
|
+
npm audit fix --force
|
|
31
|
+
|
|
32
|
+
Run `npm audit` for details.
|
|
33
|
+
|
|
34
|
+
> prostgles-server@4.2.649 lint
|
|
35
|
+
> eslint . --ext .ts --quiet --ignore-pattern tests
|
|
36
|
+
|
|
37
|
+
▶ DBSchemaBuilder type tests
|
|
38
|
+
✔ Type checks (0.434011ms)
|
|
39
|
+
✔ DBSchemaBuilder type tests (0.978287ms)
|
|
40
|
+
▶ getServerFunctionReturnTypes
|
|
41
|
+
✔ reads grouped functions and stops at recursive types (1103.658432ms)
|
|
42
|
+
✔ getServerFunctionReturnTypes (1104.216252ms)
|
|
43
|
+
▶ DboBuilder onCommit
|
|
44
|
+
✔ awaits callbacks after commit and logs callback errors (1.522909ms)
|
|
45
|
+
✔ discards callbacks on rollback (0.405035ms)
|
|
46
|
+
✔ DboBuilder onCommit (2.566682ms)
|
|
47
|
+
▶ dboBuilderUtils
|
|
48
|
+
✔ getErrorAsObject circular (0.723004ms)
|
|
49
|
+
✔ dboBuilderUtils (1.265106ms)
|
|
50
|
+
▶ defineFunction type test
|
|
51
|
+
✔ Type test (0.63721ms)
|
|
52
|
+
✔ defineFunction type test (1.18954ms)
|
|
53
|
+
✔ file version rules inherit fields and restrictive select options (2.047417ms)
|
|
54
|
+
✔ managed files preserve hooks on other tables and append file hooks (1.219739ms)
|
|
55
|
+
▶ DBOFullyTyped test
|
|
56
|
+
✔ Type test (0.412755ms)
|
|
57
|
+
✔ DBOFullyTyped test (0.974521ms)
|
|
58
|
+
ℹ tests 9
|
|
59
|
+
ℹ suites 6
|
|
60
|
+
ℹ pass 9
|
|
61
|
+
ℹ fail 0
|
|
62
|
+
ℹ cancelled 0
|
|
63
|
+
ℹ skipped 0
|
|
64
|
+
ℹ todo 0
|
|
65
|
+
ℹ duration_ms 1312.070617
|
|
66
|
+
|
|
67
|
+
> prostgles-server@4.2.649 test-only
|
|
68
|
+
> cd tests/ && ./test.sh
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
> prostgles-server@4.2.649 build
|
|
72
|
+
> tsc
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
> client@1.0.0 build
|
|
76
|
+
> rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && tsc
|
|
77
|
+
|
|
78
|
+
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
|
|
79
|
+
|
|
80
|
+
added 58 packages, and audited 59 packages in 618ms
|
|
81
|
+
|
|
82
|
+
7 packages are looking for funding
|
|
83
|
+
run `npm fund` for details
|
|
84
|
+
|
|
85
|
+
found 0 vulnerabilities
|
|
86
|
+
|
|
87
|
+
> client@1.0.0 testBasicHooks
|
|
88
|
+
> node --test dist/client/basicHooks.spec.js
|
|
89
|
+
|
|
90
|
+
▶ React hooks
|
|
91
|
+
✔ useAsyncEffectQueue executes the first and debounces the rest (1620.339798ms)
|
|
92
|
+
✔ useAsyncEffectQueue executes the first and debounces the rest if still mounted (1515.886983ms)
|
|
93
|
+
✔ React hooks (3138.101722ms)
|
|
94
|
+
ℹ tests 2
|
|
95
|
+
ℹ suites 1
|
|
96
|
+
ℹ pass 2
|
|
97
|
+
ℹ fail 0
|
|
98
|
+
ℹ cancelled 0
|
|
99
|
+
ℹ skipped 0
|
|
100
|
+
ℹ todo 0
|
|
101
|
+
ℹ duration_ms 3428.887994
|
|
102
|
+
|
|
103
|
+
up to date, audited 115 packages in 4s
|
|
104
|
+
|
|
105
|
+
28 packages are looking for funding
|
|
106
|
+
run `npm fund` for details
|
|
107
|
+
|
|
108
|
+
found 0 vulnerabilities
|
|
109
|
+
|
|
110
|
+
> server_tests@1.0.0 build
|
|
111
|
+
> rm -rf ./node_modules/* && rm -rf ./media/* && rm -rf ./dist/* && npm i && tsc
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
added 113 packages, and audited 115 packages in 4s
|
|
115
|
+
|
|
116
|
+
28 packages are looking for funding
|
|
117
|
+
run `npm fund` for details
|
|
118
|
+
|
|
119
|
+
found 0 vulnerabilities
|
|
120
|
+
|
|
121
|
+
> prostgles-server@4.2.649 lint
|
|
122
|
+
> eslint . --ext .ts --quiet
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
> server_tests@1.0.0 test-server
|
|
126
|
+
> TEST_TYPE=server node --trace-uncaught --test dist/server/index.js
|
|
127
|
+
|
|
128
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
129
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
130
|
+
|
|
131
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
132
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
133
|
+
id TEXT PRIMARY KEY
|
|
134
|
+
, "description" TEXT
|
|
135
|
+
);
|
|
136
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('a','desc') ON CONFLICT DO NOTHING;
|
|
137
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('b',null) ON CONFLICT DO NOTHING;
|
|
138
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
139
|
+
|
|
140
|
+
CREATE TABLE "files" (
|
|
141
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
142
|
+
"storage_key" UUID UNIQUE ,
|
|
143
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
144
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
145
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
146
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
147
|
+
"original_name" TEXT NOT NULL ,
|
|
148
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
149
|
+
"description" TEXT ,
|
|
150
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
151
|
+
"cloud_url" TEXT ,
|
|
152
|
+
"signed_url" TEXT ,
|
|
153
|
+
"signed_url_expires" BIGINT ,
|
|
154
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
155
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
156
|
+
"deleted" TIMESTAMPTZ ,
|
|
157
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
158
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
159
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
160
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
161
|
+
);
|
|
162
|
+
CREATE TABLE "files_versions" (
|
|
163
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
164
|
+
"storage_key" UUID NOT NULL ,
|
|
165
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
166
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
167
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
168
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
169
|
+
"original_name" TEXT NOT NULL ,
|
|
170
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
171
|
+
"description" TEXT ,
|
|
172
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
173
|
+
"cloud_url" TEXT ,
|
|
174
|
+
"signed_url" TEXT ,
|
|
175
|
+
"signed_url_expires" BIGINT ,
|
|
176
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
177
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
178
|
+
"deleted" TIMESTAMPTZ ,
|
|
179
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
180
|
+
"file_id" UUID NOT NULL ,
|
|
181
|
+
"version" INTEGER NOT NULL ,
|
|
182
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
183
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
184
|
+
);
|
|
185
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
186
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
187
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
188
|
+
CREATE TABLE "users_public_info" (
|
|
189
|
+
"id" SERIAL PRIMARY KEY ,
|
|
190
|
+
"name" TEXT ,
|
|
191
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
192
|
+
"sid" TEXT
|
|
193
|
+
);
|
|
194
|
+
DROP TABLE IF EXISTS "users";
|
|
195
|
+
CREATE TABLE "users" (
|
|
196
|
+
"id" SERIAL PRIMARY KEY ,
|
|
197
|
+
"email" TEXT NOT NULL ,
|
|
198
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
199
|
+
"type" TEXT NOT NULL ,
|
|
200
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
201
|
+
);
|
|
202
|
+
DROP TABLE IF EXISTS "tjson";
|
|
203
|
+
CREATE TABLE "tjson" (
|
|
204
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
205
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
206
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
207
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
208
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
209
|
+
);
|
|
210
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
211
|
+
|
|
212
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
213
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
214
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
215
|
+
DROP TABLE IF EXISTS "api_table";
|
|
216
|
+
CREATE TABLE "api_table" (
|
|
217
|
+
"id" SERIAL PRIMARY KEY
|
|
218
|
+
);
|
|
219
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
220
|
+
(server): prostgles onReady
|
|
221
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
222
|
+
|
|
223
|
+
CREATE TABLE "validated" (
|
|
224
|
+
"id" INTEGER PRIMARY KEY ,
|
|
225
|
+
"value" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"enabled":{"type":"boolean"}}}'::TEXT, "value", '{"table":"validated","column":"value"}' ))
|
|
226
|
+
);
|
|
227
|
+
getPubSubManagerInitQuery: No prostgles.versions table found. Creating...
|
|
228
|
+
destroying prgl instance
|
|
229
|
+
Error deleting orphaned triggers Error: Connection pool of the database object has been destroyed.
|
|
230
|
+
at /home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:24:25
|
|
231
|
+
at new Promise (<anonymous>)
|
|
232
|
+
at poolConnect (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:20:12)
|
|
233
|
+
at Object.pool (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:176:24)
|
|
234
|
+
at Database.query (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:329:36)
|
|
235
|
+
at obj.any (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:752:30)
|
|
236
|
+
at Proxy.<anonymous> (/home/s/prostgles-server-js/dist/deferDbQueries.js:19:28)
|
|
237
|
+
getPubSubManagerInitQuery: Outdated prostgles schema. Re-creating...
|
|
238
|
+
getPubSubManagerInitQuery: Outdated prostgles schema. Re-creating...
|
|
239
|
+
destroying prgl instance
|
|
240
|
+
Error deleting orphaned triggers Error: Connection pool of the database object has been destroyed.
|
|
241
|
+
at /home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:24:25
|
|
242
|
+
at new Promise (<anonymous>)
|
|
243
|
+
at poolConnect (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:20:12)
|
|
244
|
+
at Object.pool (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:176:24)
|
|
245
|
+
at Database.query (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:329:36)
|
|
246
|
+
at obj.any (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:752:30)
|
|
247
|
+
at Proxy.<anonymous> (/home/s/prostgles-server-js/dist/deferDbQueries.js:19:28)
|
|
248
|
+
getPubSubManagerInitQuery: No prostgles.versions table found. Creating...
|
|
249
|
+
getPubSubManagerInitQuery: No prostgles.versions table found. Creating...
|
|
250
|
+
destroying prgl instance
|
|
251
|
+
Error deleting orphaned triggers Error: Connection pool of the database object has been destroyed.
|
|
252
|
+
at /home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:24:25
|
|
253
|
+
at new Promise (<anonymous>)
|
|
254
|
+
at poolConnect (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:20:12)
|
|
255
|
+
at Object.pool (/home/s/prostgles-server-js/node_modules/pg-promise/lib/connect.js:176:24)
|
|
256
|
+
at Database.query (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:329:36)
|
|
257
|
+
at obj.any (/home/s/prostgles-server-js/node_modules/pg-promise/lib/database.js:752:30)
|
|
258
|
+
at Proxy.<anonymous> (/home/s/prostgles-server-js/dist/deferDbQueries.js:19:28)
|
|
259
|
+
▶ Server Only Queries
|
|
260
|
+
✔ tableConfig JSONB checks survive PubSub initialization and upgrades (4089.327218ms)
|
|
261
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
262
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
263
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
264
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
265
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
266
|
+
at Socket.emit (node:events:508:28)
|
|
267
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
268
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
269
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
270
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
271
|
+
length: 117,
|
|
272
|
+
severity: 'ERROR',
|
|
273
|
+
code: '42P01',
|
|
274
|
+
detail: undefined,
|
|
275
|
+
hint: undefined,
|
|
276
|
+
position: '24',
|
|
277
|
+
internalPosition: undefined,
|
|
278
|
+
internalQuery: undefined,
|
|
279
|
+
where: undefined,
|
|
280
|
+
schema: undefined,
|
|
281
|
+
table: undefined,
|
|
282
|
+
column: undefined,
|
|
283
|
+
dataType: undefined,
|
|
284
|
+
constraint: undefined,
|
|
285
|
+
file: 'parse_relation.c',
|
|
286
|
+
line: '1428',
|
|
287
|
+
routine: 'parserOpenTable',
|
|
288
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
289
|
+
params: undefined
|
|
290
|
+
}
|
|
291
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
292
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
293
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
294
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
295
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
296
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
297
|
+
at Socket.emit (node:events:508:28)
|
|
298
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
299
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
300
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
301
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
302
|
+
length: 117,
|
|
303
|
+
severity: 'ERROR',
|
|
304
|
+
code: '42P01',
|
|
305
|
+
detail: undefined,
|
|
306
|
+
hint: undefined,
|
|
307
|
+
position: '24',
|
|
308
|
+
internalPosition: undefined,
|
|
309
|
+
internalQuery: undefined,
|
|
310
|
+
where: undefined,
|
|
311
|
+
schema: undefined,
|
|
312
|
+
table: undefined,
|
|
313
|
+
column: undefined,
|
|
314
|
+
dataType: undefined,
|
|
315
|
+
constraint: undefined,
|
|
316
|
+
file: 'parse_relation.c',
|
|
317
|
+
line: '1428',
|
|
318
|
+
routine: 'parserOpenTable',
|
|
319
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
320
|
+
params: undefined
|
|
321
|
+
}
|
|
322
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
323
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
324
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
325
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
326
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
327
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
328
|
+
at Socket.emit (node:events:508:28)
|
|
329
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
330
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
331
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
332
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
333
|
+
length: 117,
|
|
334
|
+
severity: 'ERROR',
|
|
335
|
+
code: '42P01',
|
|
336
|
+
detail: undefined,
|
|
337
|
+
hint: undefined,
|
|
338
|
+
position: '24',
|
|
339
|
+
internalPosition: undefined,
|
|
340
|
+
internalQuery: undefined,
|
|
341
|
+
where: undefined,
|
|
342
|
+
schema: undefined,
|
|
343
|
+
table: undefined,
|
|
344
|
+
column: undefined,
|
|
345
|
+
dataType: undefined,
|
|
346
|
+
constraint: undefined,
|
|
347
|
+
file: 'parse_relation.c',
|
|
348
|
+
line: '1428',
|
|
349
|
+
routine: 'parserOpenTable',
|
|
350
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
351
|
+
params: undefined
|
|
352
|
+
}
|
|
353
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
354
|
+
IO missing. Publish has no effect without io or restApi
|
|
355
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
356
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
357
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
358
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
359
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
360
|
+
at Socket.emit (node:events:508:28)
|
|
361
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
362
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
363
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
364
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
365
|
+
length: 117,
|
|
366
|
+
severity: 'ERROR',
|
|
367
|
+
code: '42P01',
|
|
368
|
+
detail: undefined,
|
|
369
|
+
hint: undefined,
|
|
370
|
+
position: '24',
|
|
371
|
+
internalPosition: undefined,
|
|
372
|
+
internalQuery: undefined,
|
|
373
|
+
where: undefined,
|
|
374
|
+
schema: undefined,
|
|
375
|
+
table: undefined,
|
|
376
|
+
column: undefined,
|
|
377
|
+
dataType: undefined,
|
|
378
|
+
constraint: undefined,
|
|
379
|
+
file: 'parse_relation.c',
|
|
380
|
+
line: '1428',
|
|
381
|
+
routine: 'parserOpenTable',
|
|
382
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
383
|
+
params: undefined
|
|
384
|
+
}
|
|
385
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
386
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
387
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
388
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
389
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
390
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
391
|
+
at Socket.emit (node:events:508:28)
|
|
392
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
393
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
394
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
395
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
396
|
+
length: 117,
|
|
397
|
+
severity: 'ERROR',
|
|
398
|
+
code: '42P01',
|
|
399
|
+
detail: undefined,
|
|
400
|
+
hint: undefined,
|
|
401
|
+
position: '24',
|
|
402
|
+
internalPosition: undefined,
|
|
403
|
+
internalQuery: undefined,
|
|
404
|
+
where: undefined,
|
|
405
|
+
schema: undefined,
|
|
406
|
+
table: undefined,
|
|
407
|
+
column: undefined,
|
|
408
|
+
dataType: undefined,
|
|
409
|
+
constraint: undefined,
|
|
410
|
+
file: 'parse_relation.c',
|
|
411
|
+
line: '1428',
|
|
412
|
+
routine: 'parserOpenTable',
|
|
413
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
414
|
+
params: undefined
|
|
415
|
+
}
|
|
416
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
417
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
418
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
419
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
420
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
421
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
422
|
+
at Socket.emit (node:events:508:28)
|
|
423
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
424
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
425
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
426
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
427
|
+
length: 117,
|
|
428
|
+
severity: 'ERROR',
|
|
429
|
+
code: '42P01',
|
|
430
|
+
detail: undefined,
|
|
431
|
+
hint: undefined,
|
|
432
|
+
position: '24',
|
|
433
|
+
internalPosition: undefined,
|
|
434
|
+
internalQuery: undefined,
|
|
435
|
+
where: undefined,
|
|
436
|
+
schema: undefined,
|
|
437
|
+
table: undefined,
|
|
438
|
+
column: undefined,
|
|
439
|
+
dataType: undefined,
|
|
440
|
+
constraint: undefined,
|
|
441
|
+
file: 'parse_relation.c',
|
|
442
|
+
line: '1428',
|
|
443
|
+
routine: 'parserOpenTable',
|
|
444
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
445
|
+
params: undefined
|
|
446
|
+
}
|
|
447
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
448
|
+
IO missing. Publish has no effect without io or restApi
|
|
449
|
+
destroying prgl instance
|
|
450
|
+
destroying prgl instance
|
|
451
|
+
✔ execution context follows functions, hooks and deferred transaction callbacks (2503.112743ms)
|
|
452
|
+
✔ column definition row types support SQL aliases, arrays and generated columns (13.110998ms)
|
|
453
|
+
✔ lookup types propagate through database references while preserving overrides (9.181894ms)
|
|
454
|
+
✔ lookup types follow FK chains by column and terminate cycles (162.795099ms)
|
|
455
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
456
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
457
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
458
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
459
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
460
|
+
at Socket.emit (node:events:508:28)
|
|
461
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
462
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
463
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
464
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
465
|
+
length: 117,
|
|
466
|
+
severity: 'ERROR',
|
|
467
|
+
code: '42P01',
|
|
468
|
+
detail: undefined,
|
|
469
|
+
hint: undefined,
|
|
470
|
+
position: '24',
|
|
471
|
+
internalPosition: undefined,
|
|
472
|
+
internalQuery: undefined,
|
|
473
|
+
where: undefined,
|
|
474
|
+
schema: undefined,
|
|
475
|
+
table: undefined,
|
|
476
|
+
column: undefined,
|
|
477
|
+
dataType: undefined,
|
|
478
|
+
constraint: undefined,
|
|
479
|
+
file: 'parse_relation.c',
|
|
480
|
+
line: '1428',
|
|
481
|
+
routine: 'parserOpenTable',
|
|
482
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
483
|
+
params: undefined
|
|
484
|
+
}
|
|
485
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
486
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
487
|
+
|
|
488
|
+
CREATE TABLE "files" (
|
|
489
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
490
|
+
"storage_key" UUID UNIQUE ,
|
|
491
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
492
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
493
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
494
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
495
|
+
"original_name" TEXT NOT NULL ,
|
|
496
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
497
|
+
"description" TEXT ,
|
|
498
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
499
|
+
"cloud_url" TEXT ,
|
|
500
|
+
"signed_url" TEXT ,
|
|
501
|
+
"signed_url_expires" BIGINT ,
|
|
502
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
503
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
504
|
+
"deleted" TIMESTAMPTZ ,
|
|
505
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
506
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex'))
|
|
507
|
+
);
|
|
508
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
509
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
510
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
511
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
512
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
513
|
+
at Socket.emit (node:events:508:28)
|
|
514
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
515
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
516
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
517
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
518
|
+
length: 117,
|
|
519
|
+
severity: 'ERROR',
|
|
520
|
+
code: '42P01',
|
|
521
|
+
detail: undefined,
|
|
522
|
+
hint: undefined,
|
|
523
|
+
position: '24',
|
|
524
|
+
internalPosition: undefined,
|
|
525
|
+
internalQuery: undefined,
|
|
526
|
+
where: undefined,
|
|
527
|
+
schema: undefined,
|
|
528
|
+
table: undefined,
|
|
529
|
+
column: undefined,
|
|
530
|
+
dataType: undefined,
|
|
531
|
+
constraint: undefined,
|
|
532
|
+
file: 'parse_relation.c',
|
|
533
|
+
line: '1428',
|
|
534
|
+
routine: 'parserOpenTable',
|
|
535
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
536
|
+
params: undefined
|
|
537
|
+
}
|
|
538
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
539
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
540
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
541
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
542
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
543
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
544
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
545
|
+
at Socket.emit (node:events:508:28)
|
|
546
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
547
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
548
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
549
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
550
|
+
length: 117,
|
|
551
|
+
severity: 'ERROR',
|
|
552
|
+
code: '42P01',
|
|
553
|
+
detail: undefined,
|
|
554
|
+
hint: undefined,
|
|
555
|
+
position: '24',
|
|
556
|
+
internalPosition: undefined,
|
|
557
|
+
internalQuery: undefined,
|
|
558
|
+
where: undefined,
|
|
559
|
+
schema: undefined,
|
|
560
|
+
table: undefined,
|
|
561
|
+
column: undefined,
|
|
562
|
+
dataType: undefined,
|
|
563
|
+
constraint: undefined,
|
|
564
|
+
file: 'parse_relation.c',
|
|
565
|
+
line: '1428',
|
|
566
|
+
routine: 'parserOpenTable',
|
|
567
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
568
|
+
params: undefined
|
|
569
|
+
}
|
|
570
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
571
|
+
Prostgles: Created typescript schema definition file:
|
|
572
|
+
DBGeneratedSchema.ts
|
|
573
|
+
Prostgles: Created typescript schema definition file:
|
|
574
|
+
DBGeneratedSchema.ts
|
|
575
|
+
▶ client publish profiles compile at startup and follow user types
|
|
576
|
+
✔ server user handlers enforce permissions and reject client impersonation (48.412843ms)
|
|
577
|
+
✔ a rejected guest abort cannot cancel a later server-user query (4.376042ms)
|
|
578
|
+
✔ caught subscription errors still roll back client transactions (3.902586ms)
|
|
579
|
+
✔ caught checkFilter errors still roll back client transactions (7.608446ms)
|
|
580
|
+
✔ caught postValidate errors still roll back client transactions (3.710619ms)
|
|
581
|
+
No options changed
|
|
582
|
+
Prostgles: Created typescript schema definition file:
|
|
583
|
+
DBGeneratedSchema.ts
|
|
584
|
+
Prostgles: Created typescript schema definition file:
|
|
585
|
+
DBGeneratedSchema.ts
|
|
586
|
+
Prostgles: Created typescript schema definition file:
|
|
587
|
+
DBGeneratedSchema.ts
|
|
588
|
+
Prostgles: Created typescript schema definition file:
|
|
589
|
+
DBGeneratedSchema.ts
|
|
590
|
+
destroying prgl instance
|
|
591
|
+
✔ server user handlers require configured authentication (0.879709ms)
|
|
592
|
+
✔ client publish profiles compile at startup and follow user types (2108.8671ms)
|
|
593
|
+
▶ Managed storage permission and transaction safety
|
|
594
|
+
✔ legacy ID-based files remain readable and replaceable (57.279171ms)
|
|
595
|
+
✔ custom columns do not require or interfere with file data (40.437362ms)
|
|
596
|
+
✔ filtered updates and failed validation preserve storage (13.052562ms)
|
|
597
|
+
✔ failed uploads and application hooks leave no replacement objects (24.829256ms)
|
|
598
|
+
✔ duplicate IDs, conflict updates and SQL-only requests cannot overwrite (22.001973ms)
|
|
599
|
+
✔ PostgreSQL update policies are enforced before uploading (11.360009ms)
|
|
600
|
+
✔ RLS-hidden references fail closed during storage cleanup (8.046861ms)
|
|
601
|
+
✔ beforeEach lifecycle callbacks follow the outer transaction (49.00014ms)
|
|
602
|
+
✔ outer rollback preserves replaced and deleted objects (50.663161ms)
|
|
603
|
+
✔ a failed multi-insert waits for other uploads before cleanup (10.931046ms)
|
|
604
|
+
✔ concurrent replacements leave one complete referenced object (38.771807ms)
|
|
605
|
+
✔ version retention removes only unreferenced objects (38.500643ms)
|
|
606
|
+
✔ foreign-key failure preserves bytes and deletion waits for commit (19.739605ms)
|
|
607
|
+
✔ cloud downloads and cleanup use the committed storage key (62.934529ms)
|
|
608
|
+
✔ Managed storage permission and transaction safety (480.808025ms)
|
|
609
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
610
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
611
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
612
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
613
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
614
|
+
at Socket.emit (node:events:508:28)
|
|
615
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
616
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
617
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
618
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
619
|
+
length: 117,
|
|
620
|
+
severity: 'ERROR',
|
|
621
|
+
code: '42P01',
|
|
622
|
+
detail: undefined,
|
|
623
|
+
hint: undefined,
|
|
624
|
+
position: '24',
|
|
625
|
+
internalPosition: undefined,
|
|
626
|
+
internalQuery: undefined,
|
|
627
|
+
where: undefined,
|
|
628
|
+
schema: undefined,
|
|
629
|
+
table: undefined,
|
|
630
|
+
column: undefined,
|
|
631
|
+
dataType: undefined,
|
|
632
|
+
constraint: undefined,
|
|
633
|
+
file: 'parse_relation.c',
|
|
634
|
+
line: '1428',
|
|
635
|
+
routine: 'parserOpenTable',
|
|
636
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
637
|
+
params: undefined
|
|
638
|
+
}
|
|
639
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
640
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
641
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
642
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
643
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
644
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
645
|
+
at Socket.emit (node:events:508:28)
|
|
646
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
647
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
648
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
649
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
650
|
+
length: 117,
|
|
651
|
+
severity: 'ERROR',
|
|
652
|
+
code: '42P01',
|
|
653
|
+
detail: undefined,
|
|
654
|
+
hint: undefined,
|
|
655
|
+
position: '24',
|
|
656
|
+
internalPosition: undefined,
|
|
657
|
+
internalQuery: undefined,
|
|
658
|
+
where: undefined,
|
|
659
|
+
schema: undefined,
|
|
660
|
+
table: undefined,
|
|
661
|
+
column: undefined,
|
|
662
|
+
dataType: undefined,
|
|
663
|
+
constraint: undefined,
|
|
664
|
+
file: 'parse_relation.c',
|
|
665
|
+
line: '1428',
|
|
666
|
+
routine: 'parserOpenTable',
|
|
667
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
668
|
+
params: undefined
|
|
669
|
+
}
|
|
670
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
671
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
672
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
673
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
674
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
675
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
676
|
+
at Socket.emit (node:events:508:28)
|
|
677
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
678
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
679
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
680
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
681
|
+
length: 117,
|
|
682
|
+
severity: 'ERROR',
|
|
683
|
+
code: '42P01',
|
|
684
|
+
detail: undefined,
|
|
685
|
+
hint: undefined,
|
|
686
|
+
position: '24',
|
|
687
|
+
internalPosition: undefined,
|
|
688
|
+
internalQuery: undefined,
|
|
689
|
+
where: undefined,
|
|
690
|
+
schema: undefined,
|
|
691
|
+
table: undefined,
|
|
692
|
+
column: undefined,
|
|
693
|
+
dataType: undefined,
|
|
694
|
+
constraint: undefined,
|
|
695
|
+
file: 'parse_relation.c',
|
|
696
|
+
line: '1428',
|
|
697
|
+
routine: 'parserOpenTable',
|
|
698
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
699
|
+
params: undefined
|
|
700
|
+
}
|
|
701
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
702
|
+
destroying prgl instance
|
|
703
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
704
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
705
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
706
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
707
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
708
|
+
at Socket.emit (node:events:508:28)
|
|
709
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
710
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
711
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
712
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
713
|
+
length: 117,
|
|
714
|
+
severity: 'ERROR',
|
|
715
|
+
code: '42P01',
|
|
716
|
+
detail: undefined,
|
|
717
|
+
hint: undefined,
|
|
718
|
+
position: '24',
|
|
719
|
+
internalPosition: undefined,
|
|
720
|
+
internalQuery: undefined,
|
|
721
|
+
where: undefined,
|
|
722
|
+
schema: undefined,
|
|
723
|
+
table: undefined,
|
|
724
|
+
column: undefined,
|
|
725
|
+
dataType: undefined,
|
|
726
|
+
constraint: undefined,
|
|
727
|
+
file: 'parse_relation.c',
|
|
728
|
+
line: '1428',
|
|
729
|
+
routine: 'parserOpenTable',
|
|
730
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
731
|
+
params: undefined
|
|
732
|
+
}
|
|
733
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
734
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
735
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
736
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
737
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
738
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
739
|
+
at Socket.emit (node:events:508:28)
|
|
740
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
741
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
742
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
743
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
744
|
+
length: 117,
|
|
745
|
+
severity: 'ERROR',
|
|
746
|
+
code: '42P01',
|
|
747
|
+
detail: undefined,
|
|
748
|
+
hint: undefined,
|
|
749
|
+
position: '24',
|
|
750
|
+
internalPosition: undefined,
|
|
751
|
+
internalQuery: undefined,
|
|
752
|
+
where: undefined,
|
|
753
|
+
schema: undefined,
|
|
754
|
+
table: undefined,
|
|
755
|
+
column: undefined,
|
|
756
|
+
dataType: undefined,
|
|
757
|
+
constraint: undefined,
|
|
758
|
+
file: 'parse_relation.c',
|
|
759
|
+
line: '1428',
|
|
760
|
+
routine: 'parserOpenTable',
|
|
761
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
762
|
+
params: undefined
|
|
763
|
+
}
|
|
764
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
765
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
766
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
767
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
768
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
769
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
770
|
+
at Socket.emit (node:events:508:28)
|
|
771
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
772
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
773
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
774
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
775
|
+
length: 117,
|
|
776
|
+
severity: 'ERROR',
|
|
777
|
+
code: '42P01',
|
|
778
|
+
detail: undefined,
|
|
779
|
+
hint: undefined,
|
|
780
|
+
position: '24',
|
|
781
|
+
internalPosition: undefined,
|
|
782
|
+
internalQuery: undefined,
|
|
783
|
+
where: undefined,
|
|
784
|
+
schema: undefined,
|
|
785
|
+
table: undefined,
|
|
786
|
+
column: undefined,
|
|
787
|
+
dataType: undefined,
|
|
788
|
+
constraint: undefined,
|
|
789
|
+
file: 'parse_relation.c',
|
|
790
|
+
line: '1428',
|
|
791
|
+
routine: 'parserOpenTable',
|
|
792
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
793
|
+
params: undefined
|
|
794
|
+
}
|
|
795
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
796
|
+
destroying prgl instance
|
|
797
|
+
✔ custom joins add conditions unless override is requested (2421.150052ms)
|
|
798
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
799
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
800
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
801
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
802
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
803
|
+
at Socket.emit (node:events:508:28)
|
|
804
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
805
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
806
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
807
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
808
|
+
length: 117,
|
|
809
|
+
severity: 'ERROR',
|
|
810
|
+
code: '42P01',
|
|
811
|
+
detail: undefined,
|
|
812
|
+
hint: undefined,
|
|
813
|
+
position: '24',
|
|
814
|
+
internalPosition: undefined,
|
|
815
|
+
internalQuery: undefined,
|
|
816
|
+
where: undefined,
|
|
817
|
+
schema: undefined,
|
|
818
|
+
table: undefined,
|
|
819
|
+
column: undefined,
|
|
820
|
+
dataType: undefined,
|
|
821
|
+
constraint: undefined,
|
|
822
|
+
file: 'parse_relation.c',
|
|
823
|
+
line: '1428',
|
|
824
|
+
routine: 'parserOpenTable',
|
|
825
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
826
|
+
params: undefined
|
|
827
|
+
}
|
|
828
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
829
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
830
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
831
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
832
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
833
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
834
|
+
at Socket.emit (node:events:508:28)
|
|
835
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
836
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
837
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
838
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
839
|
+
length: 117,
|
|
840
|
+
severity: 'ERROR',
|
|
841
|
+
code: '42P01',
|
|
842
|
+
detail: undefined,
|
|
843
|
+
hint: undefined,
|
|
844
|
+
position: '24',
|
|
845
|
+
internalPosition: undefined,
|
|
846
|
+
internalQuery: undefined,
|
|
847
|
+
where: undefined,
|
|
848
|
+
schema: undefined,
|
|
849
|
+
table: undefined,
|
|
850
|
+
column: undefined,
|
|
851
|
+
dataType: undefined,
|
|
852
|
+
constraint: undefined,
|
|
853
|
+
file: 'parse_relation.c',
|
|
854
|
+
line: '1428',
|
|
855
|
+
routine: 'parserOpenTable',
|
|
856
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
857
|
+
params: undefined
|
|
858
|
+
}
|
|
859
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
860
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
861
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
862
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
863
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
864
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
865
|
+
at Socket.emit (node:events:508:28)
|
|
866
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
867
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
868
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
869
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
870
|
+
length: 117,
|
|
871
|
+
severity: 'ERROR',
|
|
872
|
+
code: '42P01',
|
|
873
|
+
detail: undefined,
|
|
874
|
+
hint: undefined,
|
|
875
|
+
position: '24',
|
|
876
|
+
internalPosition: undefined,
|
|
877
|
+
internalQuery: undefined,
|
|
878
|
+
where: undefined,
|
|
879
|
+
schema: undefined,
|
|
880
|
+
table: undefined,
|
|
881
|
+
column: undefined,
|
|
882
|
+
dataType: undefined,
|
|
883
|
+
constraint: undefined,
|
|
884
|
+
file: 'parse_relation.c',
|
|
885
|
+
line: '1428',
|
|
886
|
+
routine: 'parserOpenTable',
|
|
887
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
888
|
+
params: undefined
|
|
889
|
+
}
|
|
890
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
891
|
+
destroying prgl instance
|
|
892
|
+
✔ custom self joins use configured paths and override inferred joins (1223.750435ms)
|
|
893
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
894
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
895
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
896
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
897
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
898
|
+
at Socket.emit (node:events:508:28)
|
|
899
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
900
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
901
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
902
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
903
|
+
length: 117,
|
|
904
|
+
severity: 'ERROR',
|
|
905
|
+
code: '42P01',
|
|
906
|
+
detail: undefined,
|
|
907
|
+
hint: undefined,
|
|
908
|
+
position: '24',
|
|
909
|
+
internalPosition: undefined,
|
|
910
|
+
internalQuery: undefined,
|
|
911
|
+
where: undefined,
|
|
912
|
+
schema: undefined,
|
|
913
|
+
table: undefined,
|
|
914
|
+
column: undefined,
|
|
915
|
+
dataType: undefined,
|
|
916
|
+
constraint: undefined,
|
|
917
|
+
file: 'parse_relation.c',
|
|
918
|
+
line: '1428',
|
|
919
|
+
routine: 'parserOpenTable',
|
|
920
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
921
|
+
params: undefined
|
|
922
|
+
}
|
|
923
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
924
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
925
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
926
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
927
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
928
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
929
|
+
at Socket.emit (node:events:508:28)
|
|
930
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
931
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
932
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
933
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
934
|
+
length: 117,
|
|
935
|
+
severity: 'ERROR',
|
|
936
|
+
code: '42P01',
|
|
937
|
+
detail: undefined,
|
|
938
|
+
hint: undefined,
|
|
939
|
+
position: '24',
|
|
940
|
+
internalPosition: undefined,
|
|
941
|
+
internalQuery: undefined,
|
|
942
|
+
where: undefined,
|
|
943
|
+
schema: undefined,
|
|
944
|
+
table: undefined,
|
|
945
|
+
column: undefined,
|
|
946
|
+
dataType: undefined,
|
|
947
|
+
constraint: undefined,
|
|
948
|
+
file: 'parse_relation.c',
|
|
949
|
+
line: '1428',
|
|
950
|
+
routine: 'parserOpenTable',
|
|
951
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
952
|
+
params: undefined
|
|
953
|
+
}
|
|
954
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
955
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
956
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
957
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
958
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
959
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
960
|
+
at Socket.emit (node:events:508:28)
|
|
961
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
962
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
963
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
964
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
965
|
+
length: 117,
|
|
966
|
+
severity: 'ERROR',
|
|
967
|
+
code: '42P01',
|
|
968
|
+
detail: undefined,
|
|
969
|
+
hint: undefined,
|
|
970
|
+
position: '24',
|
|
971
|
+
internalPosition: undefined,
|
|
972
|
+
internalQuery: undefined,
|
|
973
|
+
where: undefined,
|
|
974
|
+
schema: undefined,
|
|
975
|
+
table: undefined,
|
|
976
|
+
column: undefined,
|
|
977
|
+
dataType: undefined,
|
|
978
|
+
constraint: undefined,
|
|
979
|
+
file: 'parse_relation.c',
|
|
980
|
+
line: '1428',
|
|
981
|
+
routine: 'parserOpenTable',
|
|
982
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
983
|
+
params: undefined
|
|
984
|
+
}
|
|
985
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
986
|
+
destroying prgl instance
|
|
987
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
988
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
989
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
990
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
991
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
992
|
+
at Socket.emit (node:events:508:28)
|
|
993
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
994
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
995
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
996
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
997
|
+
length: 117,
|
|
998
|
+
severity: 'ERROR',
|
|
999
|
+
code: '42P01',
|
|
1000
|
+
detail: undefined,
|
|
1001
|
+
hint: undefined,
|
|
1002
|
+
position: '24',
|
|
1003
|
+
internalPosition: undefined,
|
|
1004
|
+
internalQuery: undefined,
|
|
1005
|
+
where: undefined,
|
|
1006
|
+
schema: undefined,
|
|
1007
|
+
table: undefined,
|
|
1008
|
+
column: undefined,
|
|
1009
|
+
dataType: undefined,
|
|
1010
|
+
constraint: undefined,
|
|
1011
|
+
file: 'parse_relation.c',
|
|
1012
|
+
line: '1428',
|
|
1013
|
+
routine: 'parserOpenTable',
|
|
1014
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1015
|
+
params: undefined
|
|
1016
|
+
}
|
|
1017
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1018
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1019
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1020
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1021
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1022
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1023
|
+
at Socket.emit (node:events:508:28)
|
|
1024
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1025
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1026
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1027
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1028
|
+
length: 117,
|
|
1029
|
+
severity: 'ERROR',
|
|
1030
|
+
code: '42P01',
|
|
1031
|
+
detail: undefined,
|
|
1032
|
+
hint: undefined,
|
|
1033
|
+
position: '24',
|
|
1034
|
+
internalPosition: undefined,
|
|
1035
|
+
internalQuery: undefined,
|
|
1036
|
+
where: undefined,
|
|
1037
|
+
schema: undefined,
|
|
1038
|
+
table: undefined,
|
|
1039
|
+
column: undefined,
|
|
1040
|
+
dataType: undefined,
|
|
1041
|
+
constraint: undefined,
|
|
1042
|
+
file: 'parse_relation.c',
|
|
1043
|
+
line: '1428',
|
|
1044
|
+
routine: 'parserOpenTable',
|
|
1045
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1046
|
+
params: undefined
|
|
1047
|
+
}
|
|
1048
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1049
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1050
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1051
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1052
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1053
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1054
|
+
at Socket.emit (node:events:508:28)
|
|
1055
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1056
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1057
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1058
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1059
|
+
length: 117,
|
|
1060
|
+
severity: 'ERROR',
|
|
1061
|
+
code: '42P01',
|
|
1062
|
+
detail: undefined,
|
|
1063
|
+
hint: undefined,
|
|
1064
|
+
position: '24',
|
|
1065
|
+
internalPosition: undefined,
|
|
1066
|
+
internalQuery: undefined,
|
|
1067
|
+
where: undefined,
|
|
1068
|
+
schema: undefined,
|
|
1069
|
+
table: undefined,
|
|
1070
|
+
column: undefined,
|
|
1071
|
+
dataType: undefined,
|
|
1072
|
+
constraint: undefined,
|
|
1073
|
+
file: 'parse_relation.c',
|
|
1074
|
+
line: '1428',
|
|
1075
|
+
routine: 'parserOpenTable',
|
|
1076
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1077
|
+
params: undefined
|
|
1078
|
+
}
|
|
1079
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1080
|
+
destroying prgl instance
|
|
1081
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1082
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1083
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1084
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1085
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1086
|
+
at Socket.emit (node:events:508:28)
|
|
1087
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1088
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1089
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1090
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1091
|
+
length: 117,
|
|
1092
|
+
severity: 'ERROR',
|
|
1093
|
+
code: '42P01',
|
|
1094
|
+
detail: undefined,
|
|
1095
|
+
hint: undefined,
|
|
1096
|
+
position: '24',
|
|
1097
|
+
internalPosition: undefined,
|
|
1098
|
+
internalQuery: undefined,
|
|
1099
|
+
where: undefined,
|
|
1100
|
+
schema: undefined,
|
|
1101
|
+
table: undefined,
|
|
1102
|
+
column: undefined,
|
|
1103
|
+
dataType: undefined,
|
|
1104
|
+
constraint: undefined,
|
|
1105
|
+
file: 'parse_relation.c',
|
|
1106
|
+
line: '1428',
|
|
1107
|
+
routine: 'parserOpenTable',
|
|
1108
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1109
|
+
params: undefined
|
|
1110
|
+
}
|
|
1111
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1112
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1113
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1114
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1115
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1116
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1117
|
+
at Socket.emit (node:events:508:28)
|
|
1118
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1119
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1120
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1121
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1122
|
+
length: 117,
|
|
1123
|
+
severity: 'ERROR',
|
|
1124
|
+
code: '42P01',
|
|
1125
|
+
detail: undefined,
|
|
1126
|
+
hint: undefined,
|
|
1127
|
+
position: '24',
|
|
1128
|
+
internalPosition: undefined,
|
|
1129
|
+
internalQuery: undefined,
|
|
1130
|
+
where: undefined,
|
|
1131
|
+
schema: undefined,
|
|
1132
|
+
table: undefined,
|
|
1133
|
+
column: undefined,
|
|
1134
|
+
dataType: undefined,
|
|
1135
|
+
constraint: undefined,
|
|
1136
|
+
file: 'parse_relation.c',
|
|
1137
|
+
line: '1428',
|
|
1138
|
+
routine: 'parserOpenTable',
|
|
1139
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1140
|
+
params: undefined
|
|
1141
|
+
}
|
|
1142
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1143
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1144
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1145
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1146
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1147
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1148
|
+
at Socket.emit (node:events:508:28)
|
|
1149
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1150
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1151
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1152
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1153
|
+
length: 117,
|
|
1154
|
+
severity: 'ERROR',
|
|
1155
|
+
code: '42P01',
|
|
1156
|
+
detail: undefined,
|
|
1157
|
+
hint: undefined,
|
|
1158
|
+
position: '24',
|
|
1159
|
+
internalPosition: undefined,
|
|
1160
|
+
internalQuery: undefined,
|
|
1161
|
+
where: undefined,
|
|
1162
|
+
schema: undefined,
|
|
1163
|
+
table: undefined,
|
|
1164
|
+
column: undefined,
|
|
1165
|
+
dataType: undefined,
|
|
1166
|
+
constraint: undefined,
|
|
1167
|
+
file: 'parse_relation.c',
|
|
1168
|
+
line: '1428',
|
|
1169
|
+
routine: 'parserOpenTable',
|
|
1170
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1171
|
+
params: undefined
|
|
1172
|
+
}
|
|
1173
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1174
|
+
destroying prgl instance
|
|
1175
|
+
✔ destroy allows reusing Socket.IO on a running HTTP server (3515.115405ms)
|
|
1176
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1177
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1178
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1179
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1180
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1181
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1182
|
+
at Socket.emit (node:events:508:28)
|
|
1183
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1184
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1185
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1186
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1187
|
+
length: 117,
|
|
1188
|
+
severity: 'ERROR',
|
|
1189
|
+
code: '42P01',
|
|
1190
|
+
detail: undefined,
|
|
1191
|
+
hint: undefined,
|
|
1192
|
+
position: '24',
|
|
1193
|
+
internalPosition: undefined,
|
|
1194
|
+
internalQuery: undefined,
|
|
1195
|
+
where: undefined,
|
|
1196
|
+
schema: undefined,
|
|
1197
|
+
table: undefined,
|
|
1198
|
+
column: undefined,
|
|
1199
|
+
dataType: undefined,
|
|
1200
|
+
constraint: undefined,
|
|
1201
|
+
file: 'parse_relation.c',
|
|
1202
|
+
line: '1428',
|
|
1203
|
+
routine: 'parserOpenTable',
|
|
1204
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1205
|
+
params: undefined
|
|
1206
|
+
}
|
|
1207
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1208
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
1209
|
+
|
|
1210
|
+
CREATE TABLE "audit_events" (
|
|
1211
|
+
"id" BIGSERIAL PRIMARY KEY ,
|
|
1212
|
+
"created_at" TIMESTAMPTZ NOT NULL DEFAULT clock_timestamp() ,
|
|
1213
|
+
"schema_name" TEXT NOT NULL ,
|
|
1214
|
+
"table_name" TEXT NOT NULL ,
|
|
1215
|
+
"operation" TEXT NOT NULL CHECK("operation" = 'INSERT' OR "operation" = 'UPDATE' OR "operation" = 'DELETE'),
|
|
1216
|
+
"old_id" JSONB ,
|
|
1217
|
+
"new_id" JSONB ,
|
|
1218
|
+
"old_row" JSONB ,
|
|
1219
|
+
"new_row" JSONB ,
|
|
1220
|
+
"actor" JSONB ,
|
|
1221
|
+
"db_context" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"transaction_id":"string","transaction_started_at":"string","statement_started_at":"string","current_role":"string","session_user":"string","application_name":"string"}}'::TEXT, "db_context", '{"table":"audit_events","column":"db_context"}' ))
|
|
1222
|
+
);
|
|
1223
|
+
CREATE TABLE "audit_test_files" (
|
|
1224
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
1225
|
+
"storage_key" UUID UNIQUE ,
|
|
1226
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
1227
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
1228
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
1229
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
1230
|
+
"original_name" TEXT NOT NULL ,
|
|
1231
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
1232
|
+
"description" TEXT ,
|
|
1233
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
1234
|
+
"cloud_url" TEXT ,
|
|
1235
|
+
"signed_url" TEXT ,
|
|
1236
|
+
"signed_url_expires" BIGINT ,
|
|
1237
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
1238
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
1239
|
+
"deleted" TIMESTAMPTZ ,
|
|
1240
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
1241
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex'))
|
|
1242
|
+
);
|
|
1243
|
+
CREATE TABLE "audit_test_source" (
|
|
1244
|
+
"a" int NOT NULL ,
|
|
1245
|
+
"b" text NOT NULL ,
|
|
1246
|
+
"value" text ,
|
|
1247
|
+
"secret" text
|
|
1248
|
+
);
|
|
1249
|
+
ALTER TABLE "audit_test_source" ADD PRIMARY KEY (a, b);
|
|
1250
|
+
CREATE TABLE "audit_test_documents" (
|
|
1251
|
+
"id" serial PRIMARY KEY ,
|
|
1252
|
+
"file_id" uuid NOT NULL REFERENCES audit_test_files(id)
|
|
1253
|
+
);
|
|
1254
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1255
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1256
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1257
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1258
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1259
|
+
at Socket.emit (node:events:508:28)
|
|
1260
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1261
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1262
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1263
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1264
|
+
length: 117,
|
|
1265
|
+
severity: 'ERROR',
|
|
1266
|
+
code: '42P01',
|
|
1267
|
+
detail: undefined,
|
|
1268
|
+
hint: undefined,
|
|
1269
|
+
position: '24',
|
|
1270
|
+
internalPosition: undefined,
|
|
1271
|
+
internalQuery: undefined,
|
|
1272
|
+
where: undefined,
|
|
1273
|
+
schema: undefined,
|
|
1274
|
+
table: undefined,
|
|
1275
|
+
column: undefined,
|
|
1276
|
+
dataType: undefined,
|
|
1277
|
+
constraint: undefined,
|
|
1278
|
+
file: 'parse_relation.c',
|
|
1279
|
+
line: '1428',
|
|
1280
|
+
routine: 'parserOpenTable',
|
|
1281
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1282
|
+
params: undefined
|
|
1283
|
+
}
|
|
1284
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1285
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1286
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1287
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1288
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1289
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1290
|
+
at Socket.emit (node:events:508:28)
|
|
1291
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1292
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1293
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1294
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1295
|
+
length: 117,
|
|
1296
|
+
severity: 'ERROR',
|
|
1297
|
+
code: '42P01',
|
|
1298
|
+
detail: undefined,
|
|
1299
|
+
hint: undefined,
|
|
1300
|
+
position: '24',
|
|
1301
|
+
internalPosition: undefined,
|
|
1302
|
+
internalQuery: undefined,
|
|
1303
|
+
where: undefined,
|
|
1304
|
+
schema: undefined,
|
|
1305
|
+
table: undefined,
|
|
1306
|
+
column: undefined,
|
|
1307
|
+
dataType: undefined,
|
|
1308
|
+
constraint: undefined,
|
|
1309
|
+
file: 'parse_relation.c',
|
|
1310
|
+
line: '1428',
|
|
1311
|
+
routine: 'parserOpenTable',
|
|
1312
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1313
|
+
params: undefined
|
|
1314
|
+
}
|
|
1315
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1316
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
1317
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1318
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1319
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1320
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1321
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1322
|
+
at Socket.emit (node:events:508:28)
|
|
1323
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1324
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1325
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1326
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1327
|
+
length: 117,
|
|
1328
|
+
severity: 'ERROR',
|
|
1329
|
+
code: '42P01',
|
|
1330
|
+
detail: undefined,
|
|
1331
|
+
hint: undefined,
|
|
1332
|
+
position: '24',
|
|
1333
|
+
internalPosition: undefined,
|
|
1334
|
+
internalQuery: undefined,
|
|
1335
|
+
where: undefined,
|
|
1336
|
+
schema: undefined,
|
|
1337
|
+
table: undefined,
|
|
1338
|
+
column: undefined,
|
|
1339
|
+
dataType: undefined,
|
|
1340
|
+
constraint: undefined,
|
|
1341
|
+
file: 'parse_relation.c',
|
|
1342
|
+
line: '1428',
|
|
1343
|
+
routine: 'parserOpenTable',
|
|
1344
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1345
|
+
params: undefined
|
|
1346
|
+
}
|
|
1347
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1348
|
+
IO missing. Publish has no effect without io or restApi
|
|
1349
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1350
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1351
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1352
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1353
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1354
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1355
|
+
at Socket.emit (node:events:508:28)
|
|
1356
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1357
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1358
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1359
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1360
|
+
length: 117,
|
|
1361
|
+
severity: 'ERROR',
|
|
1362
|
+
code: '42P01',
|
|
1363
|
+
detail: undefined,
|
|
1364
|
+
hint: undefined,
|
|
1365
|
+
position: '24',
|
|
1366
|
+
internalPosition: undefined,
|
|
1367
|
+
internalQuery: undefined,
|
|
1368
|
+
where: undefined,
|
|
1369
|
+
schema: undefined,
|
|
1370
|
+
table: undefined,
|
|
1371
|
+
column: undefined,
|
|
1372
|
+
dataType: undefined,
|
|
1373
|
+
constraint: undefined,
|
|
1374
|
+
file: 'parse_relation.c',
|
|
1375
|
+
line: '1428',
|
|
1376
|
+
routine: 'parserOpenTable',
|
|
1377
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1378
|
+
params: undefined
|
|
1379
|
+
}
|
|
1380
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1381
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1382
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1383
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1384
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1385
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1386
|
+
at Socket.emit (node:events:508:28)
|
|
1387
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1388
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1389
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1390
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1391
|
+
length: 117,
|
|
1392
|
+
severity: 'ERROR',
|
|
1393
|
+
code: '42P01',
|
|
1394
|
+
detail: undefined,
|
|
1395
|
+
hint: undefined,
|
|
1396
|
+
position: '24',
|
|
1397
|
+
internalPosition: undefined,
|
|
1398
|
+
internalQuery: undefined,
|
|
1399
|
+
where: undefined,
|
|
1400
|
+
schema: undefined,
|
|
1401
|
+
table: undefined,
|
|
1402
|
+
column: undefined,
|
|
1403
|
+
dataType: undefined,
|
|
1404
|
+
constraint: undefined,
|
|
1405
|
+
file: 'parse_relation.c',
|
|
1406
|
+
line: '1428',
|
|
1407
|
+
routine: 'parserOpenTable',
|
|
1408
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1409
|
+
params: undefined
|
|
1410
|
+
}
|
|
1411
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1412
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1413
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1414
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1415
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1416
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1417
|
+
at Socket.emit (node:events:508:28)
|
|
1418
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1419
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1420
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1421
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1422
|
+
length: 117,
|
|
1423
|
+
severity: 'ERROR',
|
|
1424
|
+
code: '42P01',
|
|
1425
|
+
detail: undefined,
|
|
1426
|
+
hint: undefined,
|
|
1427
|
+
position: '24',
|
|
1428
|
+
internalPosition: undefined,
|
|
1429
|
+
internalQuery: undefined,
|
|
1430
|
+
where: undefined,
|
|
1431
|
+
schema: undefined,
|
|
1432
|
+
table: undefined,
|
|
1433
|
+
column: undefined,
|
|
1434
|
+
dataType: undefined,
|
|
1435
|
+
constraint: undefined,
|
|
1436
|
+
file: 'parse_relation.c',
|
|
1437
|
+
line: '1428',
|
|
1438
|
+
routine: 'parserOpenTable',
|
|
1439
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1440
|
+
params: undefined
|
|
1441
|
+
}
|
|
1442
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1443
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
1444
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1445
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1446
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1447
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1448
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1449
|
+
at Socket.emit (node:events:508:28)
|
|
1450
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1451
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1452
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1453
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1454
|
+
length: 117,
|
|
1455
|
+
severity: 'ERROR',
|
|
1456
|
+
code: '42P01',
|
|
1457
|
+
detail: undefined,
|
|
1458
|
+
hint: undefined,
|
|
1459
|
+
position: '24',
|
|
1460
|
+
internalPosition: undefined,
|
|
1461
|
+
internalQuery: undefined,
|
|
1462
|
+
where: undefined,
|
|
1463
|
+
schema: undefined,
|
|
1464
|
+
table: undefined,
|
|
1465
|
+
column: undefined,
|
|
1466
|
+
dataType: undefined,
|
|
1467
|
+
constraint: undefined,
|
|
1468
|
+
file: 'parse_relation.c',
|
|
1469
|
+
line: '1428',
|
|
1470
|
+
routine: 'parserOpenTable',
|
|
1471
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1472
|
+
params: undefined
|
|
1473
|
+
}
|
|
1474
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1475
|
+
IO missing. Publish has no effect without io or restApi
|
|
1476
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1477
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1478
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1479
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1480
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1481
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1482
|
+
at Socket.emit (node:events:508:28)
|
|
1483
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1484
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1485
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1486
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1487
|
+
length: 117,
|
|
1488
|
+
severity: 'ERROR',
|
|
1489
|
+
code: '42P01',
|
|
1490
|
+
detail: undefined,
|
|
1491
|
+
hint: undefined,
|
|
1492
|
+
position: '24',
|
|
1493
|
+
internalPosition: undefined,
|
|
1494
|
+
internalQuery: undefined,
|
|
1495
|
+
where: undefined,
|
|
1496
|
+
schema: undefined,
|
|
1497
|
+
table: undefined,
|
|
1498
|
+
column: undefined,
|
|
1499
|
+
dataType: undefined,
|
|
1500
|
+
constraint: undefined,
|
|
1501
|
+
file: 'parse_relation.c',
|
|
1502
|
+
line: '1428',
|
|
1503
|
+
routine: 'parserOpenTable',
|
|
1504
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1505
|
+
params: undefined
|
|
1506
|
+
}
|
|
1507
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1508
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1509
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1510
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1511
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1512
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1513
|
+
at Socket.emit (node:events:508:28)
|
|
1514
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1515
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1516
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1517
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1518
|
+
length: 117,
|
|
1519
|
+
severity: 'ERROR',
|
|
1520
|
+
code: '42P01',
|
|
1521
|
+
detail: undefined,
|
|
1522
|
+
hint: undefined,
|
|
1523
|
+
position: '24',
|
|
1524
|
+
internalPosition: undefined,
|
|
1525
|
+
internalQuery: undefined,
|
|
1526
|
+
where: undefined,
|
|
1527
|
+
schema: undefined,
|
|
1528
|
+
table: undefined,
|
|
1529
|
+
column: undefined,
|
|
1530
|
+
dataType: undefined,
|
|
1531
|
+
constraint: undefined,
|
|
1532
|
+
file: 'parse_relation.c',
|
|
1533
|
+
line: '1428',
|
|
1534
|
+
routine: 'parserOpenTable',
|
|
1535
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1536
|
+
params: undefined
|
|
1537
|
+
}
|
|
1538
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1539
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1540
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1541
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1542
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1543
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1544
|
+
at Socket.emit (node:events:508:28)
|
|
1545
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1546
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1547
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1548
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1549
|
+
length: 117,
|
|
1550
|
+
severity: 'ERROR',
|
|
1551
|
+
code: '42P01',
|
|
1552
|
+
detail: undefined,
|
|
1553
|
+
hint: undefined,
|
|
1554
|
+
position: '24',
|
|
1555
|
+
internalPosition: undefined,
|
|
1556
|
+
internalQuery: undefined,
|
|
1557
|
+
where: undefined,
|
|
1558
|
+
schema: undefined,
|
|
1559
|
+
table: undefined,
|
|
1560
|
+
column: undefined,
|
|
1561
|
+
dataType: undefined,
|
|
1562
|
+
constraint: undefined,
|
|
1563
|
+
file: 'parse_relation.c',
|
|
1564
|
+
line: '1428',
|
|
1565
|
+
routine: 'parserOpenTable',
|
|
1566
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1567
|
+
params: undefined
|
|
1568
|
+
}
|
|
1569
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1570
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1571
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1572
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1573
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1574
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1575
|
+
at Socket.emit (node:events:508:28)
|
|
1576
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1577
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1578
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1579
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1580
|
+
length: 117,
|
|
1581
|
+
severity: 'ERROR',
|
|
1582
|
+
code: '42P01',
|
|
1583
|
+
detail: undefined,
|
|
1584
|
+
hint: undefined,
|
|
1585
|
+
position: '24',
|
|
1586
|
+
internalPosition: undefined,
|
|
1587
|
+
internalQuery: undefined,
|
|
1588
|
+
where: undefined,
|
|
1589
|
+
schema: undefined,
|
|
1590
|
+
table: undefined,
|
|
1591
|
+
column: undefined,
|
|
1592
|
+
dataType: undefined,
|
|
1593
|
+
constraint: undefined,
|
|
1594
|
+
file: 'parse_relation.c',
|
|
1595
|
+
line: '1428',
|
|
1596
|
+
routine: 'parserOpenTable',
|
|
1597
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1598
|
+
params: undefined
|
|
1599
|
+
}
|
|
1600
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1601
|
+
IO missing. Publish has no effect without io or restApi
|
|
1602
|
+
destroying prgl instance
|
|
1603
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1604
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1605
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1606
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1607
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1608
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1609
|
+
at Socket.emit (node:events:508:28)
|
|
1610
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1611
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1612
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1613
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1614
|
+
length: 117,
|
|
1615
|
+
severity: 'ERROR',
|
|
1616
|
+
code: '42P01',
|
|
1617
|
+
detail: undefined,
|
|
1618
|
+
hint: undefined,
|
|
1619
|
+
position: '24',
|
|
1620
|
+
internalPosition: undefined,
|
|
1621
|
+
internalQuery: undefined,
|
|
1622
|
+
where: undefined,
|
|
1623
|
+
schema: undefined,
|
|
1624
|
+
table: undefined,
|
|
1625
|
+
column: undefined,
|
|
1626
|
+
dataType: undefined,
|
|
1627
|
+
constraint: undefined,
|
|
1628
|
+
file: 'parse_relation.c',
|
|
1629
|
+
line: '1428',
|
|
1630
|
+
routine: 'parserOpenTable',
|
|
1631
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1632
|
+
params: undefined
|
|
1633
|
+
}
|
|
1634
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1635
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1636
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1637
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1638
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1639
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1640
|
+
at Socket.emit (node:events:508:28)
|
|
1641
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1642
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1643
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1644
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1645
|
+
length: 117,
|
|
1646
|
+
severity: 'ERROR',
|
|
1647
|
+
code: '42P01',
|
|
1648
|
+
detail: undefined,
|
|
1649
|
+
hint: undefined,
|
|
1650
|
+
position: '24',
|
|
1651
|
+
internalPosition: undefined,
|
|
1652
|
+
internalQuery: undefined,
|
|
1653
|
+
where: undefined,
|
|
1654
|
+
schema: undefined,
|
|
1655
|
+
table: undefined,
|
|
1656
|
+
column: undefined,
|
|
1657
|
+
dataType: undefined,
|
|
1658
|
+
constraint: undefined,
|
|
1659
|
+
file: 'parse_relation.c',
|
|
1660
|
+
line: '1428',
|
|
1661
|
+
routine: 'parserOpenTable',
|
|
1662
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1663
|
+
params: undefined
|
|
1664
|
+
}
|
|
1665
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1666
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1667
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1668
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1669
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1670
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1671
|
+
at Socket.emit (node:events:508:28)
|
|
1672
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1673
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1674
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1675
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1676
|
+
length: 117,
|
|
1677
|
+
severity: 'ERROR',
|
|
1678
|
+
code: '42P01',
|
|
1679
|
+
detail: undefined,
|
|
1680
|
+
hint: undefined,
|
|
1681
|
+
position: '24',
|
|
1682
|
+
internalPosition: undefined,
|
|
1683
|
+
internalQuery: undefined,
|
|
1684
|
+
where: undefined,
|
|
1685
|
+
schema: undefined,
|
|
1686
|
+
table: undefined,
|
|
1687
|
+
column: undefined,
|
|
1688
|
+
dataType: undefined,
|
|
1689
|
+
constraint: undefined,
|
|
1690
|
+
file: 'parse_relation.c',
|
|
1691
|
+
line: '1428',
|
|
1692
|
+
routine: 'parserOpenTable',
|
|
1693
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1694
|
+
params: undefined
|
|
1695
|
+
}
|
|
1696
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1697
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
1698
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1699
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1700
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1701
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1702
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1703
|
+
at Socket.emit (node:events:508:28)
|
|
1704
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1705
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1706
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1707
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1708
|
+
length: 117,
|
|
1709
|
+
severity: 'ERROR',
|
|
1710
|
+
code: '42P01',
|
|
1711
|
+
detail: undefined,
|
|
1712
|
+
hint: undefined,
|
|
1713
|
+
position: '24',
|
|
1714
|
+
internalPosition: undefined,
|
|
1715
|
+
internalQuery: undefined,
|
|
1716
|
+
where: undefined,
|
|
1717
|
+
schema: undefined,
|
|
1718
|
+
table: undefined,
|
|
1719
|
+
column: undefined,
|
|
1720
|
+
dataType: undefined,
|
|
1721
|
+
constraint: undefined,
|
|
1722
|
+
file: 'parse_relation.c',
|
|
1723
|
+
line: '1428',
|
|
1724
|
+
routine: 'parserOpenTable',
|
|
1725
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1726
|
+
params: undefined
|
|
1727
|
+
}
|
|
1728
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1729
|
+
IO missing. Publish has no effect without io or restApi
|
|
1730
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1731
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1732
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1733
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1734
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1735
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1736
|
+
at Socket.emit (node:events:508:28)
|
|
1737
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1738
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1739
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1740
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1741
|
+
length: 117,
|
|
1742
|
+
severity: 'ERROR',
|
|
1743
|
+
code: '42P01',
|
|
1744
|
+
detail: undefined,
|
|
1745
|
+
hint: undefined,
|
|
1746
|
+
position: '24',
|
|
1747
|
+
internalPosition: undefined,
|
|
1748
|
+
internalQuery: undefined,
|
|
1749
|
+
where: undefined,
|
|
1750
|
+
schema: undefined,
|
|
1751
|
+
table: undefined,
|
|
1752
|
+
column: undefined,
|
|
1753
|
+
dataType: undefined,
|
|
1754
|
+
constraint: undefined,
|
|
1755
|
+
file: 'parse_relation.c',
|
|
1756
|
+
line: '1428',
|
|
1757
|
+
routine: 'parserOpenTable',
|
|
1758
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1759
|
+
params: undefined
|
|
1760
|
+
}
|
|
1761
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1762
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1763
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1764
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1765
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1766
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1767
|
+
at Socket.emit (node:events:508:28)
|
|
1768
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1769
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1770
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1771
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1772
|
+
length: 117,
|
|
1773
|
+
severity: 'ERROR',
|
|
1774
|
+
code: '42P01',
|
|
1775
|
+
detail: undefined,
|
|
1776
|
+
hint: undefined,
|
|
1777
|
+
position: '24',
|
|
1778
|
+
internalPosition: undefined,
|
|
1779
|
+
internalQuery: undefined,
|
|
1780
|
+
where: undefined,
|
|
1781
|
+
schema: undefined,
|
|
1782
|
+
table: undefined,
|
|
1783
|
+
column: undefined,
|
|
1784
|
+
dataType: undefined,
|
|
1785
|
+
constraint: undefined,
|
|
1786
|
+
file: 'parse_relation.c',
|
|
1787
|
+
line: '1428',
|
|
1788
|
+
routine: 'parserOpenTable',
|
|
1789
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1790
|
+
params: undefined
|
|
1791
|
+
}
|
|
1792
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1793
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1794
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1795
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1796
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1797
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1798
|
+
at Socket.emit (node:events:508:28)
|
|
1799
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1800
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1801
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1802
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1803
|
+
length: 117,
|
|
1804
|
+
severity: 'ERROR',
|
|
1805
|
+
code: '42P01',
|
|
1806
|
+
detail: undefined,
|
|
1807
|
+
hint: undefined,
|
|
1808
|
+
position: '24',
|
|
1809
|
+
internalPosition: undefined,
|
|
1810
|
+
internalQuery: undefined,
|
|
1811
|
+
where: undefined,
|
|
1812
|
+
schema: undefined,
|
|
1813
|
+
table: undefined,
|
|
1814
|
+
column: undefined,
|
|
1815
|
+
dataType: undefined,
|
|
1816
|
+
constraint: undefined,
|
|
1817
|
+
file: 'parse_relation.c',
|
|
1818
|
+
line: '1428',
|
|
1819
|
+
routine: 'parserOpenTable',
|
|
1820
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1821
|
+
params: undefined
|
|
1822
|
+
}
|
|
1823
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1824
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
1825
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1826
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1827
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1828
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1829
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1830
|
+
at Socket.emit (node:events:508:28)
|
|
1831
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1832
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1833
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1834
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1835
|
+
length: 117,
|
|
1836
|
+
severity: 'ERROR',
|
|
1837
|
+
code: '42P01',
|
|
1838
|
+
detail: undefined,
|
|
1839
|
+
hint: undefined,
|
|
1840
|
+
position: '24',
|
|
1841
|
+
internalPosition: undefined,
|
|
1842
|
+
internalQuery: undefined,
|
|
1843
|
+
where: undefined,
|
|
1844
|
+
schema: undefined,
|
|
1845
|
+
table: undefined,
|
|
1846
|
+
column: undefined,
|
|
1847
|
+
dataType: undefined,
|
|
1848
|
+
constraint: undefined,
|
|
1849
|
+
file: 'parse_relation.c',
|
|
1850
|
+
line: '1428',
|
|
1851
|
+
routine: 'parserOpenTable',
|
|
1852
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1853
|
+
params: undefined
|
|
1854
|
+
}
|
|
1855
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1856
|
+
IO missing. Publish has no effect without io or restApi
|
|
1857
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1858
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1859
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1860
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1861
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1862
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1863
|
+
at Socket.emit (node:events:508:28)
|
|
1864
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1865
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1866
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1867
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1868
|
+
length: 117,
|
|
1869
|
+
severity: 'ERROR',
|
|
1870
|
+
code: '42P01',
|
|
1871
|
+
detail: undefined,
|
|
1872
|
+
hint: undefined,
|
|
1873
|
+
position: '24',
|
|
1874
|
+
internalPosition: undefined,
|
|
1875
|
+
internalQuery: undefined,
|
|
1876
|
+
where: undefined,
|
|
1877
|
+
schema: undefined,
|
|
1878
|
+
table: undefined,
|
|
1879
|
+
column: undefined,
|
|
1880
|
+
dataType: undefined,
|
|
1881
|
+
constraint: undefined,
|
|
1882
|
+
file: 'parse_relation.c',
|
|
1883
|
+
line: '1428',
|
|
1884
|
+
routine: 'parserOpenTable',
|
|
1885
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1886
|
+
params: undefined
|
|
1887
|
+
}
|
|
1888
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1889
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1890
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1891
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1892
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1893
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1894
|
+
at Socket.emit (node:events:508:28)
|
|
1895
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1896
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1897
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1898
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1899
|
+
length: 117,
|
|
1900
|
+
severity: 'ERROR',
|
|
1901
|
+
code: '42P01',
|
|
1902
|
+
detail: undefined,
|
|
1903
|
+
hint: undefined,
|
|
1904
|
+
position: '24',
|
|
1905
|
+
internalPosition: undefined,
|
|
1906
|
+
internalQuery: undefined,
|
|
1907
|
+
where: undefined,
|
|
1908
|
+
schema: undefined,
|
|
1909
|
+
table: undefined,
|
|
1910
|
+
column: undefined,
|
|
1911
|
+
dataType: undefined,
|
|
1912
|
+
constraint: undefined,
|
|
1913
|
+
file: 'parse_relation.c',
|
|
1914
|
+
line: '1428',
|
|
1915
|
+
routine: 'parserOpenTable',
|
|
1916
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1917
|
+
params: undefined
|
|
1918
|
+
}
|
|
1919
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1920
|
+
Trace: Error: audit.tables cannot mix enabled and disabled entries
|
|
1921
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:19:15)
|
|
1922
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
1923
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
1924
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
1925
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
1926
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
1927
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
1928
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
1929
|
+
at async waitForActual (node:assert:646:5)
|
|
1930
|
+
at async strict.rejects (node:assert:769:25)
|
|
1931
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1932
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1933
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1934
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
1935
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1936
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1937
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1938
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1939
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1940
|
+
at Socket.emit (node:events:508:28)
|
|
1941
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1942
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1943
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1944
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1945
|
+
length: 117,
|
|
1946
|
+
severity: 'ERROR',
|
|
1947
|
+
code: '42P01',
|
|
1948
|
+
detail: undefined,
|
|
1949
|
+
hint: undefined,
|
|
1950
|
+
position: '24',
|
|
1951
|
+
internalPosition: undefined,
|
|
1952
|
+
internalQuery: undefined,
|
|
1953
|
+
where: undefined,
|
|
1954
|
+
schema: undefined,
|
|
1955
|
+
table: undefined,
|
|
1956
|
+
column: undefined,
|
|
1957
|
+
dataType: undefined,
|
|
1958
|
+
constraint: undefined,
|
|
1959
|
+
file: 'parse_relation.c',
|
|
1960
|
+
line: '1428',
|
|
1961
|
+
routine: 'parserOpenTable',
|
|
1962
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1963
|
+
params: undefined
|
|
1964
|
+
}
|
|
1965
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1966
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1967
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1968
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
1969
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
1970
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
1971
|
+
at Socket.emit (node:events:508:28)
|
|
1972
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
1973
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
1974
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
1975
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
1976
|
+
length: 117,
|
|
1977
|
+
severity: 'ERROR',
|
|
1978
|
+
code: '42P01',
|
|
1979
|
+
detail: undefined,
|
|
1980
|
+
hint: undefined,
|
|
1981
|
+
position: '24',
|
|
1982
|
+
internalPosition: undefined,
|
|
1983
|
+
internalQuery: undefined,
|
|
1984
|
+
where: undefined,
|
|
1985
|
+
schema: undefined,
|
|
1986
|
+
table: undefined,
|
|
1987
|
+
column: undefined,
|
|
1988
|
+
dataType: undefined,
|
|
1989
|
+
constraint: undefined,
|
|
1990
|
+
file: 'parse_relation.c',
|
|
1991
|
+
line: '1428',
|
|
1992
|
+
routine: 'parserOpenTable',
|
|
1993
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
1994
|
+
params: undefined
|
|
1995
|
+
}
|
|
1996
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1997
|
+
Trace: Error: Unknown audit table: missing_table
|
|
1998
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:23:19)
|
|
1999
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
2000
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
2001
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
2002
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
2003
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2004
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
2005
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2006
|
+
at async waitForActual (node:assert:646:5)
|
|
2007
|
+
at async strict.rejects (node:assert:769:25)
|
|
2008
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
2009
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
2010
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
2011
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2012
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2013
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2014
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2015
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2016
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2017
|
+
at Socket.emit (node:events:508:28)
|
|
2018
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2019
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2020
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2021
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2022
|
+
length: 117,
|
|
2023
|
+
severity: 'ERROR',
|
|
2024
|
+
code: '42P01',
|
|
2025
|
+
detail: undefined,
|
|
2026
|
+
hint: undefined,
|
|
2027
|
+
position: '24',
|
|
2028
|
+
internalPosition: undefined,
|
|
2029
|
+
internalQuery: undefined,
|
|
2030
|
+
where: undefined,
|
|
2031
|
+
schema: undefined,
|
|
2032
|
+
table: undefined,
|
|
2033
|
+
column: undefined,
|
|
2034
|
+
dataType: undefined,
|
|
2035
|
+
constraint: undefined,
|
|
2036
|
+
file: 'parse_relation.c',
|
|
2037
|
+
line: '1428',
|
|
2038
|
+
routine: 'parserOpenTable',
|
|
2039
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2040
|
+
params: undefined
|
|
2041
|
+
}
|
|
2042
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2043
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2044
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2045
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2046
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2047
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2048
|
+
at Socket.emit (node:events:508:28)
|
|
2049
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2050
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2051
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2052
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2053
|
+
length: 117,
|
|
2054
|
+
severity: 'ERROR',
|
|
2055
|
+
code: '42P01',
|
|
2056
|
+
detail: undefined,
|
|
2057
|
+
hint: undefined,
|
|
2058
|
+
position: '24',
|
|
2059
|
+
internalPosition: undefined,
|
|
2060
|
+
internalQuery: undefined,
|
|
2061
|
+
where: undefined,
|
|
2062
|
+
schema: undefined,
|
|
2063
|
+
table: undefined,
|
|
2064
|
+
column: undefined,
|
|
2065
|
+
dataType: undefined,
|
|
2066
|
+
constraint: undefined,
|
|
2067
|
+
file: 'parse_relation.c',
|
|
2068
|
+
line: '1428',
|
|
2069
|
+
routine: 'parserOpenTable',
|
|
2070
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2071
|
+
params: undefined
|
|
2072
|
+
}
|
|
2073
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2074
|
+
Trace: Error: audit.idColumns is required for audit_test_nopk without a primary key
|
|
2075
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:45:19)
|
|
2076
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
2077
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
2078
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
2079
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
2080
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2081
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
2082
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2083
|
+
at async waitForActual (node:assert:646:5)
|
|
2084
|
+
at async strict.rejects (node:assert:769:25)
|
|
2085
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
2086
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
2087
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
2088
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2089
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2090
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2091
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2092
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2093
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2094
|
+
at Socket.emit (node:events:508:28)
|
|
2095
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2096
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2097
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2098
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2099
|
+
length: 117,
|
|
2100
|
+
severity: 'ERROR',
|
|
2101
|
+
code: '42P01',
|
|
2102
|
+
detail: undefined,
|
|
2103
|
+
hint: undefined,
|
|
2104
|
+
position: '24',
|
|
2105
|
+
internalPosition: undefined,
|
|
2106
|
+
internalQuery: undefined,
|
|
2107
|
+
where: undefined,
|
|
2108
|
+
schema: undefined,
|
|
2109
|
+
table: undefined,
|
|
2110
|
+
column: undefined,
|
|
2111
|
+
dataType: undefined,
|
|
2112
|
+
constraint: undefined,
|
|
2113
|
+
file: 'parse_relation.c',
|
|
2114
|
+
line: '1428',
|
|
2115
|
+
routine: 'parserOpenTable',
|
|
2116
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2117
|
+
params: undefined
|
|
2118
|
+
}
|
|
2119
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2120
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2121
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2122
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2123
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2124
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2125
|
+
at Socket.emit (node:events:508:28)
|
|
2126
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2127
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2128
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2129
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2130
|
+
length: 117,
|
|
2131
|
+
severity: 'ERROR',
|
|
2132
|
+
code: '42P01',
|
|
2133
|
+
detail: undefined,
|
|
2134
|
+
hint: undefined,
|
|
2135
|
+
position: '24',
|
|
2136
|
+
internalPosition: undefined,
|
|
2137
|
+
internalQuery: undefined,
|
|
2138
|
+
where: undefined,
|
|
2139
|
+
schema: undefined,
|
|
2140
|
+
table: undefined,
|
|
2141
|
+
column: undefined,
|
|
2142
|
+
dataType: undefined,
|
|
2143
|
+
constraint: undefined,
|
|
2144
|
+
file: 'parse_relation.c',
|
|
2145
|
+
line: '1428',
|
|
2146
|
+
routine: 'parserOpenTable',
|
|
2147
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2148
|
+
params: undefined
|
|
2149
|
+
}
|
|
2150
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2151
|
+
Trace: Error: Unsupported audit target: audit_test_view
|
|
2152
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:37:23)
|
|
2153
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
2154
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
2155
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
2156
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
2157
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2158
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
2159
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2160
|
+
at async waitForActual (node:assert:646:5)
|
|
2161
|
+
at async strict.rejects (node:assert:769:25)
|
|
2162
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
2163
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
2164
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
2165
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2166
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2167
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2168
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2169
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2170
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2171
|
+
at Socket.emit (node:events:508:28)
|
|
2172
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2173
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2174
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2175
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2176
|
+
length: 117,
|
|
2177
|
+
severity: 'ERROR',
|
|
2178
|
+
code: '42P01',
|
|
2179
|
+
detail: undefined,
|
|
2180
|
+
hint: undefined,
|
|
2181
|
+
position: '24',
|
|
2182
|
+
internalPosition: undefined,
|
|
2183
|
+
internalQuery: undefined,
|
|
2184
|
+
where: undefined,
|
|
2185
|
+
schema: undefined,
|
|
2186
|
+
table: undefined,
|
|
2187
|
+
column: undefined,
|
|
2188
|
+
dataType: undefined,
|
|
2189
|
+
constraint: undefined,
|
|
2190
|
+
file: 'parse_relation.c',
|
|
2191
|
+
line: '1428',
|
|
2192
|
+
routine: 'parserOpenTable',
|
|
2193
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2194
|
+
params: undefined
|
|
2195
|
+
}
|
|
2196
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2197
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2198
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2199
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2200
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2201
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2202
|
+
at Socket.emit (node:events:508:28)
|
|
2203
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2204
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2205
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2206
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2207
|
+
length: 117,
|
|
2208
|
+
severity: 'ERROR',
|
|
2209
|
+
code: '42P01',
|
|
2210
|
+
detail: undefined,
|
|
2211
|
+
hint: undefined,
|
|
2212
|
+
position: '24',
|
|
2213
|
+
internalPosition: undefined,
|
|
2214
|
+
internalQuery: undefined,
|
|
2215
|
+
where: undefined,
|
|
2216
|
+
schema: undefined,
|
|
2217
|
+
table: undefined,
|
|
2218
|
+
column: undefined,
|
|
2219
|
+
dataType: undefined,
|
|
2220
|
+
constraint: undefined,
|
|
2221
|
+
file: 'parse_relation.c',
|
|
2222
|
+
line: '1428',
|
|
2223
|
+
routine: 'parserOpenTable',
|
|
2224
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2225
|
+
params: undefined
|
|
2226
|
+
}
|
|
2227
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2228
|
+
Trace: Error: Audit identity columns cannot be excluded: audit_test_source
|
|
2229
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:54:19)
|
|
2230
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
2231
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
2232
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
2233
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
2234
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2235
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
2236
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
2237
|
+
at async waitForActual (node:assert:646:5)
|
|
2238
|
+
at async strict.rejects (node:assert:769:25)
|
|
2239
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
2240
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
2241
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
2242
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2243
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2244
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2245
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2246
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2247
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2248
|
+
at Socket.emit (node:events:508:28)
|
|
2249
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2250
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2251
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2252
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2253
|
+
length: 117,
|
|
2254
|
+
severity: 'ERROR',
|
|
2255
|
+
code: '42P01',
|
|
2256
|
+
detail: undefined,
|
|
2257
|
+
hint: undefined,
|
|
2258
|
+
position: '24',
|
|
2259
|
+
internalPosition: undefined,
|
|
2260
|
+
internalQuery: undefined,
|
|
2261
|
+
where: undefined,
|
|
2262
|
+
schema: undefined,
|
|
2263
|
+
table: undefined,
|
|
2264
|
+
column: undefined,
|
|
2265
|
+
dataType: undefined,
|
|
2266
|
+
constraint: undefined,
|
|
2267
|
+
file: 'parse_relation.c',
|
|
2268
|
+
line: '1428',
|
|
2269
|
+
routine: 'parserOpenTable',
|
|
2270
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2271
|
+
params: undefined
|
|
2272
|
+
}
|
|
2273
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2274
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2275
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2276
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2277
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2278
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2279
|
+
at Socket.emit (node:events:508:28)
|
|
2280
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2281
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2282
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2283
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2284
|
+
length: 117,
|
|
2285
|
+
severity: 'ERROR',
|
|
2286
|
+
code: '42P01',
|
|
2287
|
+
detail: undefined,
|
|
2288
|
+
hint: undefined,
|
|
2289
|
+
position: '24',
|
|
2290
|
+
internalPosition: undefined,
|
|
2291
|
+
internalQuery: undefined,
|
|
2292
|
+
where: undefined,
|
|
2293
|
+
schema: undefined,
|
|
2294
|
+
table: undefined,
|
|
2295
|
+
column: undefined,
|
|
2296
|
+
dataType: undefined,
|
|
2297
|
+
constraint: undefined,
|
|
2298
|
+
file: 'parse_relation.c',
|
|
2299
|
+
line: '1428',
|
|
2300
|
+
routine: 'parserOpenTable',
|
|
2301
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2302
|
+
params: undefined
|
|
2303
|
+
}
|
|
2304
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2305
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2306
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2307
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2308
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2309
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2310
|
+
at Socket.emit (node:events:508:28)
|
|
2311
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2312
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2313
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2314
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2315
|
+
length: 117,
|
|
2316
|
+
severity: 'ERROR',
|
|
2317
|
+
code: '42P01',
|
|
2318
|
+
detail: undefined,
|
|
2319
|
+
hint: undefined,
|
|
2320
|
+
position: '24',
|
|
2321
|
+
internalPosition: undefined,
|
|
2322
|
+
internalQuery: undefined,
|
|
2323
|
+
where: undefined,
|
|
2324
|
+
schema: undefined,
|
|
2325
|
+
table: undefined,
|
|
2326
|
+
column: undefined,
|
|
2327
|
+
dataType: undefined,
|
|
2328
|
+
constraint: undefined,
|
|
2329
|
+
file: 'parse_relation.c',
|
|
2330
|
+
line: '1428',
|
|
2331
|
+
routine: 'parserOpenTable',
|
|
2332
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2333
|
+
params: undefined
|
|
2334
|
+
}
|
|
2335
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2336
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2337
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2338
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2339
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2340
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2341
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2342
|
+
at Socket.emit (node:events:508:28)
|
|
2343
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2344
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2345
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2346
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2347
|
+
length: 117,
|
|
2348
|
+
severity: 'ERROR',
|
|
2349
|
+
code: '42P01',
|
|
2350
|
+
detail: undefined,
|
|
2351
|
+
hint: undefined,
|
|
2352
|
+
position: '24',
|
|
2353
|
+
internalPosition: undefined,
|
|
2354
|
+
internalQuery: undefined,
|
|
2355
|
+
where: undefined,
|
|
2356
|
+
schema: undefined,
|
|
2357
|
+
table: undefined,
|
|
2358
|
+
column: undefined,
|
|
2359
|
+
dataType: undefined,
|
|
2360
|
+
constraint: undefined,
|
|
2361
|
+
file: 'parse_relation.c',
|
|
2362
|
+
line: '1428',
|
|
2363
|
+
routine: 'parserOpenTable',
|
|
2364
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2365
|
+
params: undefined
|
|
2366
|
+
}
|
|
2367
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2368
|
+
IO missing. Publish has no effect without io or restApi
|
|
2369
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2370
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2371
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2372
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2373
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2374
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2375
|
+
at Socket.emit (node:events:508:28)
|
|
2376
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2377
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2378
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2379
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2380
|
+
length: 117,
|
|
2381
|
+
severity: 'ERROR',
|
|
2382
|
+
code: '42P01',
|
|
2383
|
+
detail: undefined,
|
|
2384
|
+
hint: undefined,
|
|
2385
|
+
position: '24',
|
|
2386
|
+
internalPosition: undefined,
|
|
2387
|
+
internalQuery: undefined,
|
|
2388
|
+
where: undefined,
|
|
2389
|
+
schema: undefined,
|
|
2390
|
+
table: undefined,
|
|
2391
|
+
column: undefined,
|
|
2392
|
+
dataType: undefined,
|
|
2393
|
+
constraint: undefined,
|
|
2394
|
+
file: 'parse_relation.c',
|
|
2395
|
+
line: '1428',
|
|
2396
|
+
routine: 'parserOpenTable',
|
|
2397
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2398
|
+
params: undefined
|
|
2399
|
+
}
|
|
2400
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2401
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2402
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2403
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2404
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2405
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2406
|
+
at Socket.emit (node:events:508:28)
|
|
2407
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2408
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2409
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2410
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2411
|
+
length: 117,
|
|
2412
|
+
severity: 'ERROR',
|
|
2413
|
+
code: '42P01',
|
|
2414
|
+
detail: undefined,
|
|
2415
|
+
hint: undefined,
|
|
2416
|
+
position: '24',
|
|
2417
|
+
internalPosition: undefined,
|
|
2418
|
+
internalQuery: undefined,
|
|
2419
|
+
where: undefined,
|
|
2420
|
+
schema: undefined,
|
|
2421
|
+
table: undefined,
|
|
2422
|
+
column: undefined,
|
|
2423
|
+
dataType: undefined,
|
|
2424
|
+
constraint: undefined,
|
|
2425
|
+
file: 'parse_relation.c',
|
|
2426
|
+
line: '1428',
|
|
2427
|
+
routine: 'parserOpenTable',
|
|
2428
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2429
|
+
params: undefined
|
|
2430
|
+
}
|
|
2431
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2432
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2433
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2434
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2435
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2436
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2437
|
+
at Socket.emit (node:events:508:28)
|
|
2438
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2439
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2440
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2441
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2442
|
+
length: 117,
|
|
2443
|
+
severity: 'ERROR',
|
|
2444
|
+
code: '42P01',
|
|
2445
|
+
detail: undefined,
|
|
2446
|
+
hint: undefined,
|
|
2447
|
+
position: '24',
|
|
2448
|
+
internalPosition: undefined,
|
|
2449
|
+
internalQuery: undefined,
|
|
2450
|
+
where: undefined,
|
|
2451
|
+
schema: undefined,
|
|
2452
|
+
table: undefined,
|
|
2453
|
+
column: undefined,
|
|
2454
|
+
dataType: undefined,
|
|
2455
|
+
constraint: undefined,
|
|
2456
|
+
file: 'parse_relation.c',
|
|
2457
|
+
line: '1428',
|
|
2458
|
+
routine: 'parserOpenTable',
|
|
2459
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2460
|
+
params: undefined
|
|
2461
|
+
}
|
|
2462
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2463
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2464
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2465
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2466
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2467
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2468
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2469
|
+
at Socket.emit (node:events:508:28)
|
|
2470
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2471
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2472
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2473
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2474
|
+
length: 117,
|
|
2475
|
+
severity: 'ERROR',
|
|
2476
|
+
code: '42P01',
|
|
2477
|
+
detail: undefined,
|
|
2478
|
+
hint: undefined,
|
|
2479
|
+
position: '24',
|
|
2480
|
+
internalPosition: undefined,
|
|
2481
|
+
internalQuery: undefined,
|
|
2482
|
+
where: undefined,
|
|
2483
|
+
schema: undefined,
|
|
2484
|
+
table: undefined,
|
|
2485
|
+
column: undefined,
|
|
2486
|
+
dataType: undefined,
|
|
2487
|
+
constraint: undefined,
|
|
2488
|
+
file: 'parse_relation.c',
|
|
2489
|
+
line: '1428',
|
|
2490
|
+
routine: 'parserOpenTable',
|
|
2491
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2492
|
+
params: undefined
|
|
2493
|
+
}
|
|
2494
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2495
|
+
IO missing. Publish has no effect without io or restApi
|
|
2496
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2497
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2498
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2499
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2500
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2501
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2502
|
+
at Socket.emit (node:events:508:28)
|
|
2503
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2504
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2505
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2506
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2507
|
+
length: 117,
|
|
2508
|
+
severity: 'ERROR',
|
|
2509
|
+
code: '42P01',
|
|
2510
|
+
detail: undefined,
|
|
2511
|
+
hint: undefined,
|
|
2512
|
+
position: '24',
|
|
2513
|
+
internalPosition: undefined,
|
|
2514
|
+
internalQuery: undefined,
|
|
2515
|
+
where: undefined,
|
|
2516
|
+
schema: undefined,
|
|
2517
|
+
table: undefined,
|
|
2518
|
+
column: undefined,
|
|
2519
|
+
dataType: undefined,
|
|
2520
|
+
constraint: undefined,
|
|
2521
|
+
file: 'parse_relation.c',
|
|
2522
|
+
line: '1428',
|
|
2523
|
+
routine: 'parserOpenTable',
|
|
2524
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2525
|
+
params: undefined
|
|
2526
|
+
}
|
|
2527
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2528
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2529
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2530
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2531
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2532
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2533
|
+
at Socket.emit (node:events:508:28)
|
|
2534
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2535
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2536
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2537
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2538
|
+
length: 117,
|
|
2539
|
+
severity: 'ERROR',
|
|
2540
|
+
code: '42P01',
|
|
2541
|
+
detail: undefined,
|
|
2542
|
+
hint: undefined,
|
|
2543
|
+
position: '24',
|
|
2544
|
+
internalPosition: undefined,
|
|
2545
|
+
internalQuery: undefined,
|
|
2546
|
+
where: undefined,
|
|
2547
|
+
schema: undefined,
|
|
2548
|
+
table: undefined,
|
|
2549
|
+
column: undefined,
|
|
2550
|
+
dataType: undefined,
|
|
2551
|
+
constraint: undefined,
|
|
2552
|
+
file: 'parse_relation.c',
|
|
2553
|
+
line: '1428',
|
|
2554
|
+
routine: 'parserOpenTable',
|
|
2555
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2556
|
+
params: undefined
|
|
2557
|
+
}
|
|
2558
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2559
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2560
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2561
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2562
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2563
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2564
|
+
at Socket.emit (node:events:508:28)
|
|
2565
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2566
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2567
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2568
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2569
|
+
length: 117,
|
|
2570
|
+
severity: 'ERROR',
|
|
2571
|
+
code: '42P01',
|
|
2572
|
+
detail: undefined,
|
|
2573
|
+
hint: undefined,
|
|
2574
|
+
position: '24',
|
|
2575
|
+
internalPosition: undefined,
|
|
2576
|
+
internalQuery: undefined,
|
|
2577
|
+
where: undefined,
|
|
2578
|
+
schema: undefined,
|
|
2579
|
+
table: undefined,
|
|
2580
|
+
column: undefined,
|
|
2581
|
+
dataType: undefined,
|
|
2582
|
+
constraint: undefined,
|
|
2583
|
+
file: 'parse_relation.c',
|
|
2584
|
+
line: '1428',
|
|
2585
|
+
routine: 'parserOpenTable',
|
|
2586
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2587
|
+
params: undefined
|
|
2588
|
+
}
|
|
2589
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2590
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2591
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2592
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2593
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2594
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2595
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2596
|
+
at Socket.emit (node:events:508:28)
|
|
2597
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2598
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2599
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2600
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2601
|
+
length: 117,
|
|
2602
|
+
severity: 'ERROR',
|
|
2603
|
+
code: '42P01',
|
|
2604
|
+
detail: undefined,
|
|
2605
|
+
hint: undefined,
|
|
2606
|
+
position: '24',
|
|
2607
|
+
internalPosition: undefined,
|
|
2608
|
+
internalQuery: undefined,
|
|
2609
|
+
where: undefined,
|
|
2610
|
+
schema: undefined,
|
|
2611
|
+
table: undefined,
|
|
2612
|
+
column: undefined,
|
|
2613
|
+
dataType: undefined,
|
|
2614
|
+
constraint: undefined,
|
|
2615
|
+
file: 'parse_relation.c',
|
|
2616
|
+
line: '1428',
|
|
2617
|
+
routine: 'parserOpenTable',
|
|
2618
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2619
|
+
params: undefined
|
|
2620
|
+
}
|
|
2621
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2622
|
+
IO missing. Publish has no effect without io or restApi
|
|
2623
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2624
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2625
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2626
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2627
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2628
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2629
|
+
at Socket.emit (node:events:508:28)
|
|
2630
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2631
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2632
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2633
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2634
|
+
length: 117,
|
|
2635
|
+
severity: 'ERROR',
|
|
2636
|
+
code: '42P01',
|
|
2637
|
+
detail: undefined,
|
|
2638
|
+
hint: undefined,
|
|
2639
|
+
position: '24',
|
|
2640
|
+
internalPosition: undefined,
|
|
2641
|
+
internalQuery: undefined,
|
|
2642
|
+
where: undefined,
|
|
2643
|
+
schema: undefined,
|
|
2644
|
+
table: undefined,
|
|
2645
|
+
column: undefined,
|
|
2646
|
+
dataType: undefined,
|
|
2647
|
+
constraint: undefined,
|
|
2648
|
+
file: 'parse_relation.c',
|
|
2649
|
+
line: '1428',
|
|
2650
|
+
routine: 'parserOpenTable',
|
|
2651
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2652
|
+
params: undefined
|
|
2653
|
+
}
|
|
2654
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2655
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2656
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2657
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2658
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2659
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2660
|
+
at Socket.emit (node:events:508:28)
|
|
2661
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2662
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2663
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2664
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2665
|
+
length: 117,
|
|
2666
|
+
severity: 'ERROR',
|
|
2667
|
+
code: '42P01',
|
|
2668
|
+
detail: undefined,
|
|
2669
|
+
hint: undefined,
|
|
2670
|
+
position: '24',
|
|
2671
|
+
internalPosition: undefined,
|
|
2672
|
+
internalQuery: undefined,
|
|
2673
|
+
where: undefined,
|
|
2674
|
+
schema: undefined,
|
|
2675
|
+
table: undefined,
|
|
2676
|
+
column: undefined,
|
|
2677
|
+
dataType: undefined,
|
|
2678
|
+
constraint: undefined,
|
|
2679
|
+
file: 'parse_relation.c',
|
|
2680
|
+
line: '1428',
|
|
2681
|
+
routine: 'parserOpenTable',
|
|
2682
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2683
|
+
params: undefined
|
|
2684
|
+
}
|
|
2685
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2686
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2687
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2688
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2689
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2690
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2691
|
+
at Socket.emit (node:events:508:28)
|
|
2692
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2693
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2694
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2695
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2696
|
+
length: 117,
|
|
2697
|
+
severity: 'ERROR',
|
|
2698
|
+
code: '42P01',
|
|
2699
|
+
detail: undefined,
|
|
2700
|
+
hint: undefined,
|
|
2701
|
+
position: '24',
|
|
2702
|
+
internalPosition: undefined,
|
|
2703
|
+
internalQuery: undefined,
|
|
2704
|
+
where: undefined,
|
|
2705
|
+
schema: undefined,
|
|
2706
|
+
table: undefined,
|
|
2707
|
+
column: undefined,
|
|
2708
|
+
dataType: undefined,
|
|
2709
|
+
constraint: undefined,
|
|
2710
|
+
file: 'parse_relation.c',
|
|
2711
|
+
line: '1428',
|
|
2712
|
+
routine: 'parserOpenTable',
|
|
2713
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2714
|
+
params: undefined
|
|
2715
|
+
}
|
|
2716
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2717
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2718
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2719
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2720
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2721
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2722
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2723
|
+
at Socket.emit (node:events:508:28)
|
|
2724
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2725
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2726
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2727
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2728
|
+
length: 117,
|
|
2729
|
+
severity: 'ERROR',
|
|
2730
|
+
code: '42P01',
|
|
2731
|
+
detail: undefined,
|
|
2732
|
+
hint: undefined,
|
|
2733
|
+
position: '24',
|
|
2734
|
+
internalPosition: undefined,
|
|
2735
|
+
internalQuery: undefined,
|
|
2736
|
+
where: undefined,
|
|
2737
|
+
schema: undefined,
|
|
2738
|
+
table: undefined,
|
|
2739
|
+
column: undefined,
|
|
2740
|
+
dataType: undefined,
|
|
2741
|
+
constraint: undefined,
|
|
2742
|
+
file: 'parse_relation.c',
|
|
2743
|
+
line: '1428',
|
|
2744
|
+
routine: 'parserOpenTable',
|
|
2745
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2746
|
+
params: undefined
|
|
2747
|
+
}
|
|
2748
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2749
|
+
IO missing. Publish has no effect without io or restApi
|
|
2750
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-YJmLfI/init.sql
|
|
2751
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2752
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2753
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2754
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2755
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2756
|
+
at Socket.emit (node:events:508:28)
|
|
2757
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2758
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2759
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2760
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2761
|
+
length: 117,
|
|
2762
|
+
severity: 'ERROR',
|
|
2763
|
+
code: '42P01',
|
|
2764
|
+
detail: undefined,
|
|
2765
|
+
hint: undefined,
|
|
2766
|
+
position: '24',
|
|
2767
|
+
internalPosition: undefined,
|
|
2768
|
+
internalQuery: undefined,
|
|
2769
|
+
where: undefined,
|
|
2770
|
+
schema: undefined,
|
|
2771
|
+
table: undefined,
|
|
2772
|
+
column: undefined,
|
|
2773
|
+
dataType: undefined,
|
|
2774
|
+
constraint: undefined,
|
|
2775
|
+
file: 'parse_relation.c',
|
|
2776
|
+
line: '1428',
|
|
2777
|
+
routine: 'parserOpenTable',
|
|
2778
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2779
|
+
params: undefined
|
|
2780
|
+
}
|
|
2781
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2782
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2783
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2784
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2785
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2786
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2787
|
+
at Socket.emit (node:events:508:28)
|
|
2788
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2789
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2790
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2791
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2792
|
+
length: 117,
|
|
2793
|
+
severity: 'ERROR',
|
|
2794
|
+
code: '42P01',
|
|
2795
|
+
detail: undefined,
|
|
2796
|
+
hint: undefined,
|
|
2797
|
+
position: '24',
|
|
2798
|
+
internalPosition: undefined,
|
|
2799
|
+
internalQuery: undefined,
|
|
2800
|
+
where: undefined,
|
|
2801
|
+
schema: undefined,
|
|
2802
|
+
table: undefined,
|
|
2803
|
+
column: undefined,
|
|
2804
|
+
dataType: undefined,
|
|
2805
|
+
constraint: undefined,
|
|
2806
|
+
file: 'parse_relation.c',
|
|
2807
|
+
line: '1428',
|
|
2808
|
+
routine: 'parserOpenTable',
|
|
2809
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2810
|
+
params: undefined
|
|
2811
|
+
}
|
|
2812
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2813
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2814
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2815
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2816
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2817
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2818
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2819
|
+
at Socket.emit (node:events:508:28)
|
|
2820
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2821
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2822
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2823
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2824
|
+
length: 117,
|
|
2825
|
+
severity: 'ERROR',
|
|
2826
|
+
code: '42P01',
|
|
2827
|
+
detail: undefined,
|
|
2828
|
+
hint: undefined,
|
|
2829
|
+
position: '24',
|
|
2830
|
+
internalPosition: undefined,
|
|
2831
|
+
internalQuery: undefined,
|
|
2832
|
+
where: undefined,
|
|
2833
|
+
schema: undefined,
|
|
2834
|
+
table: undefined,
|
|
2835
|
+
column: undefined,
|
|
2836
|
+
dataType: undefined,
|
|
2837
|
+
constraint: undefined,
|
|
2838
|
+
file: 'parse_relation.c',
|
|
2839
|
+
line: '1428',
|
|
2840
|
+
routine: 'parserOpenTable',
|
|
2841
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2842
|
+
params: undefined
|
|
2843
|
+
}
|
|
2844
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2845
|
+
IO missing. Publish has no effect without io or restApi
|
|
2846
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2847
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2848
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2849
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2850
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2851
|
+
at Socket.emit (node:events:508:28)
|
|
2852
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2853
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2854
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2855
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2856
|
+
length: 117,
|
|
2857
|
+
severity: 'ERROR',
|
|
2858
|
+
code: '42P01',
|
|
2859
|
+
detail: undefined,
|
|
2860
|
+
hint: undefined,
|
|
2861
|
+
position: '24',
|
|
2862
|
+
internalPosition: undefined,
|
|
2863
|
+
internalQuery: undefined,
|
|
2864
|
+
where: undefined,
|
|
2865
|
+
schema: undefined,
|
|
2866
|
+
table: undefined,
|
|
2867
|
+
column: undefined,
|
|
2868
|
+
dataType: undefined,
|
|
2869
|
+
constraint: undefined,
|
|
2870
|
+
file: 'parse_relation.c',
|
|
2871
|
+
line: '1428',
|
|
2872
|
+
routine: 'parserOpenTable',
|
|
2873
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2874
|
+
params: undefined
|
|
2875
|
+
}
|
|
2876
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2877
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2878
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2879
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2880
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2881
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2882
|
+
at Socket.emit (node:events:508:28)
|
|
2883
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2884
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2885
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2886
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2887
|
+
length: 117,
|
|
2888
|
+
severity: 'ERROR',
|
|
2889
|
+
code: '42P01',
|
|
2890
|
+
detail: undefined,
|
|
2891
|
+
hint: undefined,
|
|
2892
|
+
position: '24',
|
|
2893
|
+
internalPosition: undefined,
|
|
2894
|
+
internalQuery: undefined,
|
|
2895
|
+
where: undefined,
|
|
2896
|
+
schema: undefined,
|
|
2897
|
+
table: undefined,
|
|
2898
|
+
column: undefined,
|
|
2899
|
+
dataType: undefined,
|
|
2900
|
+
constraint: undefined,
|
|
2901
|
+
file: 'parse_relation.c',
|
|
2902
|
+
line: '1428',
|
|
2903
|
+
routine: 'parserOpenTable',
|
|
2904
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2905
|
+
params: undefined
|
|
2906
|
+
}
|
|
2907
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2908
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
2909
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2910
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2911
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2912
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2913
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2914
|
+
at Socket.emit (node:events:508:28)
|
|
2915
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2916
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2917
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2918
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2919
|
+
length: 117,
|
|
2920
|
+
severity: 'ERROR',
|
|
2921
|
+
code: '42P01',
|
|
2922
|
+
detail: undefined,
|
|
2923
|
+
hint: undefined,
|
|
2924
|
+
position: '24',
|
|
2925
|
+
internalPosition: undefined,
|
|
2926
|
+
internalQuery: undefined,
|
|
2927
|
+
where: undefined,
|
|
2928
|
+
schema: undefined,
|
|
2929
|
+
table: undefined,
|
|
2930
|
+
column: undefined,
|
|
2931
|
+
dataType: undefined,
|
|
2932
|
+
constraint: undefined,
|
|
2933
|
+
file: 'parse_relation.c',
|
|
2934
|
+
line: '1428',
|
|
2935
|
+
routine: 'parserOpenTable',
|
|
2936
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2937
|
+
params: undefined
|
|
2938
|
+
}
|
|
2939
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2940
|
+
IO missing. Publish has no effect without io or restApi
|
|
2941
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2942
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2943
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2944
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2945
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2946
|
+
at Socket.emit (node:events:508:28)
|
|
2947
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2948
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2949
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2950
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2951
|
+
length: 117,
|
|
2952
|
+
severity: 'ERROR',
|
|
2953
|
+
code: '42P01',
|
|
2954
|
+
detail: undefined,
|
|
2955
|
+
hint: undefined,
|
|
2956
|
+
position: '24',
|
|
2957
|
+
internalPosition: undefined,
|
|
2958
|
+
internalQuery: undefined,
|
|
2959
|
+
where: undefined,
|
|
2960
|
+
schema: undefined,
|
|
2961
|
+
table: undefined,
|
|
2962
|
+
column: undefined,
|
|
2963
|
+
dataType: undefined,
|
|
2964
|
+
constraint: undefined,
|
|
2965
|
+
file: 'parse_relation.c',
|
|
2966
|
+
line: '1428',
|
|
2967
|
+
routine: 'parserOpenTable',
|
|
2968
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
2969
|
+
params: undefined
|
|
2970
|
+
}
|
|
2971
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2972
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2973
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2974
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
2975
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
2976
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
2977
|
+
at Socket.emit (node:events:508:28)
|
|
2978
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
2979
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
2980
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
2981
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
2982
|
+
length: 117,
|
|
2983
|
+
severity: 'ERROR',
|
|
2984
|
+
code: '42P01',
|
|
2985
|
+
detail: undefined,
|
|
2986
|
+
hint: undefined,
|
|
2987
|
+
position: '24',
|
|
2988
|
+
internalPosition: undefined,
|
|
2989
|
+
internalQuery: undefined,
|
|
2990
|
+
where: undefined,
|
|
2991
|
+
schema: undefined,
|
|
2992
|
+
table: undefined,
|
|
2993
|
+
column: undefined,
|
|
2994
|
+
dataType: undefined,
|
|
2995
|
+
constraint: undefined,
|
|
2996
|
+
file: 'parse_relation.c',
|
|
2997
|
+
line: '1428',
|
|
2998
|
+
routine: 'parserOpenTable',
|
|
2999
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3000
|
+
params: undefined
|
|
3001
|
+
}
|
|
3002
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3003
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3004
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3005
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3006
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3007
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3008
|
+
at Socket.emit (node:events:508:28)
|
|
3009
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3010
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3011
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3012
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3013
|
+
length: 117,
|
|
3014
|
+
severity: 'ERROR',
|
|
3015
|
+
code: '42P01',
|
|
3016
|
+
detail: undefined,
|
|
3017
|
+
hint: undefined,
|
|
3018
|
+
position: '24',
|
|
3019
|
+
internalPosition: undefined,
|
|
3020
|
+
internalQuery: undefined,
|
|
3021
|
+
where: undefined,
|
|
3022
|
+
schema: undefined,
|
|
3023
|
+
table: undefined,
|
|
3024
|
+
column: undefined,
|
|
3025
|
+
dataType: undefined,
|
|
3026
|
+
constraint: undefined,
|
|
3027
|
+
file: 'parse_relation.c',
|
|
3028
|
+
line: '1428',
|
|
3029
|
+
routine: 'parserOpenTable',
|
|
3030
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3031
|
+
params: undefined
|
|
3032
|
+
}
|
|
3033
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3034
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
3035
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3036
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3037
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3038
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3039
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3040
|
+
at Socket.emit (node:events:508:28)
|
|
3041
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3042
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3043
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3044
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3045
|
+
length: 117,
|
|
3046
|
+
severity: 'ERROR',
|
|
3047
|
+
code: '42P01',
|
|
3048
|
+
detail: undefined,
|
|
3049
|
+
hint: undefined,
|
|
3050
|
+
position: '24',
|
|
3051
|
+
internalPosition: undefined,
|
|
3052
|
+
internalQuery: undefined,
|
|
3053
|
+
where: undefined,
|
|
3054
|
+
schema: undefined,
|
|
3055
|
+
table: undefined,
|
|
3056
|
+
column: undefined,
|
|
3057
|
+
dataType: undefined,
|
|
3058
|
+
constraint: undefined,
|
|
3059
|
+
file: 'parse_relation.c',
|
|
3060
|
+
line: '1428',
|
|
3061
|
+
routine: 'parserOpenTable',
|
|
3062
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3063
|
+
params: undefined
|
|
3064
|
+
}
|
|
3065
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3066
|
+
IO missing. Publish has no effect without io or restApi
|
|
3067
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3068
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3069
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3070
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3071
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3072
|
+
at Socket.emit (node:events:508:28)
|
|
3073
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3074
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3075
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3076
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3077
|
+
length: 117,
|
|
3078
|
+
severity: 'ERROR',
|
|
3079
|
+
code: '42P01',
|
|
3080
|
+
detail: undefined,
|
|
3081
|
+
hint: undefined,
|
|
3082
|
+
position: '24',
|
|
3083
|
+
internalPosition: undefined,
|
|
3084
|
+
internalQuery: undefined,
|
|
3085
|
+
where: undefined,
|
|
3086
|
+
schema: undefined,
|
|
3087
|
+
table: undefined,
|
|
3088
|
+
column: undefined,
|
|
3089
|
+
dataType: undefined,
|
|
3090
|
+
constraint: undefined,
|
|
3091
|
+
file: 'parse_relation.c',
|
|
3092
|
+
line: '1428',
|
|
3093
|
+
routine: 'parserOpenTable',
|
|
3094
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3095
|
+
params: undefined
|
|
3096
|
+
}
|
|
3097
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3098
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3099
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3100
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3101
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3102
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3103
|
+
at Socket.emit (node:events:508:28)
|
|
3104
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3105
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3106
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3107
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3108
|
+
length: 117,
|
|
3109
|
+
severity: 'ERROR',
|
|
3110
|
+
code: '42P01',
|
|
3111
|
+
detail: undefined,
|
|
3112
|
+
hint: undefined,
|
|
3113
|
+
position: '24',
|
|
3114
|
+
internalPosition: undefined,
|
|
3115
|
+
internalQuery: undefined,
|
|
3116
|
+
where: undefined,
|
|
3117
|
+
schema: undefined,
|
|
3118
|
+
table: undefined,
|
|
3119
|
+
column: undefined,
|
|
3120
|
+
dataType: undefined,
|
|
3121
|
+
constraint: undefined,
|
|
3122
|
+
file: 'parse_relation.c',
|
|
3123
|
+
line: '1428',
|
|
3124
|
+
routine: 'parserOpenTable',
|
|
3125
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3126
|
+
params: undefined
|
|
3127
|
+
}
|
|
3128
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3129
|
+
Trace: Error: audit.idColumns is required for audit_test_nopk without a primary key
|
|
3130
|
+
at parseAuditConfig (/home/s/prostgles-server-js/dist/Audit/parseAuditConfig.js:45:19)
|
|
3131
|
+
at get resolvedAuditConfig (/home/s/prostgles-server-js/dist/Prostgles.js:136:56)
|
|
3132
|
+
at get mergedTableConfig (/home/s/prostgles-server-js/dist/Prostgles.js:148:28)
|
|
3133
|
+
at syncTableTriggers (/home/s/prostgles-server-js/dist/TableConfig/syncTableTriggers.js:8:25)
|
|
3134
|
+
at /home/s/prostgles-server-js/dist/initProstgles.js:99:61
|
|
3135
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
3136
|
+
at Prostgles.initProstgles (/home/s/prostgles-server-js/dist/initProstgles.js:199:17)
|
|
3137
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
3138
|
+
at async updateConfiguration (/home/s/prostgles-server-js/dist/updateConfiguration.js:58:9)
|
|
3139
|
+
at async Object.update (/home/s/prostgles-server-js/dist/initProstgles.js:162:17)
|
|
3140
|
+
at async waitForActual (node:assert:646:5)
|
|
3141
|
+
at async strict.rejects (node:assert:769:25)
|
|
3142
|
+
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:535:13)
|
|
3143
|
+
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
3144
|
+
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
3145
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3146
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3147
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3148
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3149
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3150
|
+
at Socket.emit (node:events:508:28)
|
|
3151
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3152
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3153
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3154
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3155
|
+
length: 117,
|
|
3156
|
+
severity: 'ERROR',
|
|
3157
|
+
code: '42P01',
|
|
3158
|
+
detail: undefined,
|
|
3159
|
+
hint: undefined,
|
|
3160
|
+
position: '24',
|
|
3161
|
+
internalPosition: undefined,
|
|
3162
|
+
internalQuery: undefined,
|
|
3163
|
+
where: undefined,
|
|
3164
|
+
schema: undefined,
|
|
3165
|
+
table: undefined,
|
|
3166
|
+
column: undefined,
|
|
3167
|
+
dataType: undefined,
|
|
3168
|
+
constraint: undefined,
|
|
3169
|
+
file: 'parse_relation.c',
|
|
3170
|
+
line: '1428',
|
|
3171
|
+
routine: 'parserOpenTable',
|
|
3172
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3173
|
+
params: undefined
|
|
3174
|
+
}
|
|
3175
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3176
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3177
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3178
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3179
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3180
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3181
|
+
at Socket.emit (node:events:508:28)
|
|
3182
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3183
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3184
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3185
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3186
|
+
length: 117,
|
|
3187
|
+
severity: 'ERROR',
|
|
3188
|
+
code: '42P01',
|
|
3189
|
+
detail: undefined,
|
|
3190
|
+
hint: undefined,
|
|
3191
|
+
position: '24',
|
|
3192
|
+
internalPosition: undefined,
|
|
3193
|
+
internalQuery: undefined,
|
|
3194
|
+
where: undefined,
|
|
3195
|
+
schema: undefined,
|
|
3196
|
+
table: undefined,
|
|
3197
|
+
column: undefined,
|
|
3198
|
+
dataType: undefined,
|
|
3199
|
+
constraint: undefined,
|
|
3200
|
+
file: 'parse_relation.c',
|
|
3201
|
+
line: '1428',
|
|
3202
|
+
routine: 'parserOpenTable',
|
|
3203
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3204
|
+
params: undefined
|
|
3205
|
+
}
|
|
3206
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3207
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3208
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3209
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3210
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3211
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3212
|
+
at Socket.emit (node:events:508:28)
|
|
3213
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3214
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3215
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3216
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3217
|
+
length: 117,
|
|
3218
|
+
severity: 'ERROR',
|
|
3219
|
+
code: '42P01',
|
|
3220
|
+
detail: undefined,
|
|
3221
|
+
hint: undefined,
|
|
3222
|
+
position: '24',
|
|
3223
|
+
internalPosition: undefined,
|
|
3224
|
+
internalQuery: undefined,
|
|
3225
|
+
where: undefined,
|
|
3226
|
+
schema: undefined,
|
|
3227
|
+
table: undefined,
|
|
3228
|
+
column: undefined,
|
|
3229
|
+
dataType: undefined,
|
|
3230
|
+
constraint: undefined,
|
|
3231
|
+
file: 'parse_relation.c',
|
|
3232
|
+
line: '1428',
|
|
3233
|
+
routine: 'parserOpenTable',
|
|
3234
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3235
|
+
params: undefined
|
|
3236
|
+
}
|
|
3237
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3238
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
3239
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3240
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3241
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3242
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3243
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3244
|
+
at Socket.emit (node:events:508:28)
|
|
3245
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3246
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3247
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3248
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3249
|
+
length: 117,
|
|
3250
|
+
severity: 'ERROR',
|
|
3251
|
+
code: '42P01',
|
|
3252
|
+
detail: undefined,
|
|
3253
|
+
hint: undefined,
|
|
3254
|
+
position: '24',
|
|
3255
|
+
internalPosition: undefined,
|
|
3256
|
+
internalQuery: undefined,
|
|
3257
|
+
where: undefined,
|
|
3258
|
+
schema: undefined,
|
|
3259
|
+
table: undefined,
|
|
3260
|
+
column: undefined,
|
|
3261
|
+
dataType: undefined,
|
|
3262
|
+
constraint: undefined,
|
|
3263
|
+
file: 'parse_relation.c',
|
|
3264
|
+
line: '1428',
|
|
3265
|
+
routine: 'parserOpenTable',
|
|
3266
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3267
|
+
params: undefined
|
|
3268
|
+
}
|
|
3269
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3270
|
+
IO missing. Publish has no effect without io or restApi
|
|
3271
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3272
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3273
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3274
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3275
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3276
|
+
at Socket.emit (node:events:508:28)
|
|
3277
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3278
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3279
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3280
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3281
|
+
length: 117,
|
|
3282
|
+
severity: 'ERROR',
|
|
3283
|
+
code: '42P01',
|
|
3284
|
+
detail: undefined,
|
|
3285
|
+
hint: undefined,
|
|
3286
|
+
position: '24',
|
|
3287
|
+
internalPosition: undefined,
|
|
3288
|
+
internalQuery: undefined,
|
|
3289
|
+
where: undefined,
|
|
3290
|
+
schema: undefined,
|
|
3291
|
+
table: undefined,
|
|
3292
|
+
column: undefined,
|
|
3293
|
+
dataType: undefined,
|
|
3294
|
+
constraint: undefined,
|
|
3295
|
+
file: 'parse_relation.c',
|
|
3296
|
+
line: '1428',
|
|
3297
|
+
routine: 'parserOpenTable',
|
|
3298
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3299
|
+
params: undefined
|
|
3300
|
+
}
|
|
3301
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3302
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3303
|
+
|
|
3304
|
+
CREATE TABLE "audit_next_events" (
|
|
3305
|
+
"id" BIGSERIAL PRIMARY KEY ,
|
|
3306
|
+
"created_at" TIMESTAMPTZ NOT NULL DEFAULT clock_timestamp() ,
|
|
3307
|
+
"schema_name" TEXT NOT NULL ,
|
|
3308
|
+
"table_name" TEXT NOT NULL ,
|
|
3309
|
+
"operation" TEXT NOT NULL CHECK("operation" = 'INSERT' OR "operation" = 'UPDATE' OR "operation" = 'DELETE'),
|
|
3310
|
+
"old_id" JSONB ,
|
|
3311
|
+
"new_id" JSONB ,
|
|
3312
|
+
"old_row" JSONB ,
|
|
3313
|
+
"new_row" JSONB ,
|
|
3314
|
+
"actor" JSONB ,
|
|
3315
|
+
"db_context" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"transaction_id":"string","transaction_started_at":"string","statement_started_at":"string","current_role":"string","session_user":"string","application_name":"string"}}'::TEXT, "db_context", '{"table":"audit_next_events","column":"db_context"}' ))
|
|
3316
|
+
);
|
|
3317
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3318
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3319
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3320
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3321
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3322
|
+
at Socket.emit (node:events:508:28)
|
|
3323
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3324
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3325
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3326
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3327
|
+
length: 117,
|
|
3328
|
+
severity: 'ERROR',
|
|
3329
|
+
code: '42P01',
|
|
3330
|
+
detail: undefined,
|
|
3331
|
+
hint: undefined,
|
|
3332
|
+
position: '24',
|
|
3333
|
+
internalPosition: undefined,
|
|
3334
|
+
internalQuery: undefined,
|
|
3335
|
+
where: undefined,
|
|
3336
|
+
schema: undefined,
|
|
3337
|
+
table: undefined,
|
|
3338
|
+
column: undefined,
|
|
3339
|
+
dataType: undefined,
|
|
3340
|
+
constraint: undefined,
|
|
3341
|
+
file: 'parse_relation.c',
|
|
3342
|
+
line: '1428',
|
|
3343
|
+
routine: 'parserOpenTable',
|
|
3344
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3345
|
+
params: undefined
|
|
3346
|
+
}
|
|
3347
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3348
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3349
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3350
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3351
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3352
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3353
|
+
at Socket.emit (node:events:508:28)
|
|
3354
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3355
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3356
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3357
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3358
|
+
length: 117,
|
|
3359
|
+
severity: 'ERROR',
|
|
3360
|
+
code: '42P01',
|
|
3361
|
+
detail: undefined,
|
|
3362
|
+
hint: undefined,
|
|
3363
|
+
position: '24',
|
|
3364
|
+
internalPosition: undefined,
|
|
3365
|
+
internalQuery: undefined,
|
|
3366
|
+
where: undefined,
|
|
3367
|
+
schema: undefined,
|
|
3368
|
+
table: undefined,
|
|
3369
|
+
column: undefined,
|
|
3370
|
+
dataType: undefined,
|
|
3371
|
+
constraint: undefined,
|
|
3372
|
+
file: 'parse_relation.c',
|
|
3373
|
+
line: '1428',
|
|
3374
|
+
routine: 'parserOpenTable',
|
|
3375
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3376
|
+
params: undefined
|
|
3377
|
+
}
|
|
3378
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3379
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
3380
|
+
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
3381
|
+
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
3382
|
+
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
3383
|
+
at Parser.parse (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:37:38)
|
|
3384
|
+
at Socket.<anonymous> (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/index.js:12:42)
|
|
3385
|
+
at Socket.emit (node:events:508:28)
|
|
3386
|
+
at addChunk (node:internal/streams/readable:563:12)
|
|
3387
|
+
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
|
|
3388
|
+
at Readable.push (node:internal/streams/readable:394:5)
|
|
3389
|
+
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
|
|
3390
|
+
length: 117,
|
|
3391
|
+
severity: 'ERROR',
|
|
3392
|
+
code: '42P01',
|
|
3393
|
+
detail: undefined,
|
|
3394
|
+
hint: undefined,
|
|
3395
|
+
position: '24',
|
|
3396
|
+
internalPosition: undefined,
|
|
3397
|
+
internalQuery: undefined,
|
|
3398
|
+
where: undefined,
|
|
3399
|
+
schema: undefined,
|
|
3400
|
+
table: undefined,
|
|
3401
|
+
column: undefined,
|
|
3402
|
+
dataType: undefined,
|
|
3403
|
+
constraint: undefined,
|
|
3404
|
+
file: 'parse_relation.c',
|
|
3405
|
+
line: '1428',
|
|
3406
|
+
routine: 'parserOpenTable',
|
|
3407
|
+
query: '\n SELECT * FROM prostgles.versions\n ',
|
|
3408
|
+
params: undefined
|
|
3409
|
+
}
|
|
3410
|
+
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3411
|
+
IO missing. Publish has no effect without io or restApi
|
|
3412
|
+
destroying prgl instance
|
|
3413
|
+
✔ Managed audit setup, row history, protection, access and query readiness (10581.673768ms)
|
|
3414
|
+
✔ getJSONBSchemaValidationErrorAsync with real db handlers (5.121925ms)
|
|
3415
|
+
getPubSubManagerInitQuery: No prostgles.versions table found. Creating...
|
|
3416
|
+
✔ Parallel subscription at init causing crash in getPubSubManager: duplicate key value violates unique constraint "apps_pkey" (101.208603ms)
|
|
3417
|
+
✔ RLS context is isolated across implicit transactions, commit, rollback and pool reuse (28.691101ms)
|
|
3418
|
+
✔ subscription and sync reads isolate users with a real RLS policy (21.546282ms)
|
|
3419
|
+
✔ ordinary beforeEach hooks transform inputs before validation (68.119705ms)
|
|
3420
|
+
✔ multi false is checked after beforeEach and rolls back the update (16.966221ms)
|
|
3421
|
+
✔ ordinary beforeEach hooks run before PostgreSQL UPDATE policy checks (12.169912ms)
|
|
3422
|
+
✔ before and after hooks preserve RLS across dbx and raw tx calls (34.238078ms)
|
|
3423
|
+
▶ post-transaction hooks receive committed and authenticated context
|
|
3424
|
+
✔ afterCommit runs after commit, filters changed fields and skips rollback (30.926115ms)
|
|
3425
|
+
✔ clearing a watched field runs before, after and commit hooks (5.495193ms)
|
|
3426
|
+
✔ client updateBatch runs hooks atomically in implicit and explicit transactions (24.624213ms)
|
|
3427
|
+
destroying prgl instance
|
|
3428
|
+
✔ server-user requests preserve tenant_id from sessionFields (1.221092ms)
|
|
3429
|
+
✔ post-transaction hooks receive committed and authenticated context (1295.394631ms)
|
|
3430
|
+
✔ Self reference recursion bug (4.344618ms)
|
|
3431
|
+
✔ Transactions (18.351706ms)
|
|
3432
|
+
(server): Server-only query tests successful
|
|
3433
|
+
(server): Starting isomorphic queries
|
|
3434
|
+
✔ TableConfig onMount works (4.155033ms)
|
|
3435
|
+
✔ Server Only Queries (28722.17199ms)
|
|
3436
|
+
(server): DELETING items
|
|
3437
|
+
▶ Isomorphic queries
|
|
3438
|
+
✔ Deleting stale data (38.3085ms)
|
|
3439
|
+
✔ Error structure malformed array literal (25.897996ms)
|
|
3440
|
+
✔ Table info (0.910534ms)
|
|
3441
|
+
✔ Prepare data (50.595122ms)
|
|
3442
|
+
✔ Test bytea (5.404127ms)
|
|
3443
|
+
✔ abortSignal terminates a running query (5555.219326ms)
|
|
3444
|
+
✔ Client queries are aborted no more than after n seconds (0.303618ms)
|
|
3445
|
+
✔ Subscription tracked_columns get merged correctly (32.138392ms)
|
|
3446
|
+
✔ Aggregate subscription tracks FILTER and ORDER BY dependencies (977.085116ms)
|
|
3447
|
+
✔ CASE select and subscription dependencies (648.874817ms)
|
|
3448
|
+
✔ Subscription tracks non-selected ORDER BY columns (646.350671ms)
|
|
3449
|
+
✔ merge json (14.634798ms)
|
|
3450
|
+
✔ json array converted to pg array filter bug (1.646233ms)
|
|
3451
|
+
✔ onConflict do update (5.158181ms)
|
|
3452
|
+
✔ Local file upload (46.530912ms)
|
|
3453
|
+
✔ Local file delete (20.689219ms)
|
|
3454
|
+
✔ Local file update (18.04501ms)
|
|
3455
|
+
✔ getColumns definition (0.580452ms)
|
|
3456
|
+
✔ returnType (0.23161ms)
|
|
3457
|
+
✔ Table config triggers (4.139694ms)
|
|
3458
|
+
✔ $unnest_words (0.680645ms)
|
|
3459
|
+
✔ Group by/Distinct (0.862282ms)
|
|
3460
|
+
✔ sql returntype default-with-rollback (7.753906ms)
|
|
3461
|
+
✔ returnType: value (0.696924ms)
|
|
3462
|
+
✔ PostgreSQL array element (2.960344ms)
|
|
3463
|
+
✔ FTS filtering (3.646817ms)
|
|
3464
|
+
✔ $term_highlight (3.196846ms)
|
|
3465
|
+
✔ funcFilters: $term_highlight (1.102066ms)
|
|
3466
|
+
(server): [{"name":null}]
|
|
3467
|
+
(server): [{"name":"zz3zz1"}]
|
|
3468
|
+
(server): []
|
|
3469
|
+
✔ subscribe skipChangedColumnsCheck false by default = sub should not fire if selected data did not change (854.683398ms)
|
|
3470
|
+
(server): [{"name":"zz3zz1"}]
|
|
3471
|
+
(server): [{"name":"zz3zz1"}]
|
|
3472
|
+
(server): [{"name":"zz3zz1"}]
|
|
3473
|
+
(server): [{"name":"zz3zz1"}]
|
|
3474
|
+
(server): []
|
|
3475
|
+
✔ subscribe skipChangedColumnsCheck true (3407.993666ms)
|
|
3476
|
+
unsubscribe start - various
|
|
3477
|
+
unsubscribe end - various
|
|
3478
|
+
✔ subscribe (57.706108ms)
|
|
3479
|
+
✔ subscribe to schema.table (20.337576ms)
|
|
3480
|
+
✔ parallel subscriptions (2034.715956ms)
|
|
3481
|
+
(server): updateAll done in 1824
|
|
3482
|
+
(server): updateAll done in 1800
|
|
3483
|
+
(server): Locks: [{"pid":456,"blocking_pids":[457],"wait_event":"object","wait_event_type":"Lock","query":" \n -- prostgles query id: 10e4fe9c-c695-4879-879a-67d4fb4737f4\nSET LOCAL \"prostgles.user\" \nTO ''; \n INSERT INTO various (\"id\",\"name\") VALUES (1997::int4,'slowtx1997'::text) \n RETURNING *,FALSE as prostgles_check_condition\n ","blocking_query":" \n -- prostgles query id: 72082f7b-a9ff-4c30-8210-fb5d0a4d8660\nSET LOCAL \"prostgles.user\" \nTO ''; \n INSERT INTO various (\"id\",\"name\") VALUES (1998::int4,'slowtx1998'::text) \n RETURNING *,FALSE as prostgles_check_condition\n "}]
|
|
3484
|
+
(server): Locks: [{"pid":453,"blocking_pids":[457,456],"wait_event":"object","wait_event_type":"Lock","query":"commit","blocking_query":"commit"},{"pid":456,"blocking_pids":[457],"wait_event":"object","wait_event_type":"Lock","query":"commit","blocking_query":"commit"}]
|
|
3485
|
+
(server): Locks: [{"pid":453,"blocking_pids":[456],"wait_event":"object","wait_event_type":"Lock","query":"commit","blocking_query":"commit"}]
|
|
3486
|
+
(server): Locks: [{"pid":453,"blocking_pids":[456],"wait_event":"object","wait_event_type":"Lock","query":"commit","blocking_query":"commit"}]
|
|
3487
|
+
(server): updateAll done in 2357
|
|
3488
|
+
✔ subscriptions do not serialize transactions (10521.155186ms)
|
|
3489
|
+
Created PubSubManager x4
|
|
3490
|
+
throttling sub for 1700 ms
|
|
3491
|
+
✔ subscribeOne with throttle (1753.883545ms)
|
|
3492
|
+
throttling finished. pushSubData...
|
|
3493
|
+
throttling sub for 1700 ms
|
|
3494
|
+
✔ subscribeOne with throttle skipFirst: true (1712.578828ms)
|
|
3495
|
+
✔ subscribeOne without skipFirst (1033.711673ms)
|
|
3496
|
+
✔ subscribeOne with skipFirst: true (1535.179057ms)
|
|
3497
|
+
✔ subscribeOne actions: { insert: true } (1550.301301ms)
|
|
3498
|
+
✔ subscribeOne actions: { insert: false } (1550.213087ms)
|
|
3499
|
+
✔ JSON filtering (5.765027ms)
|
|
3500
|
+
✔ Complex filtering (4.867045ms)
|
|
3501
|
+
✔ template_string function (5.013279ms)
|
|
3502
|
+
✔ Between filtering (4.200455ms)
|
|
3503
|
+
✔ In filtering (4.259781ms)
|
|
3504
|
+
✔ Order by (4.161075ms)
|
|
3505
|
+
✔ Order by aliased func (2.431792ms)
|
|
3506
|
+
✔ Filter by aliased func (2.080271ms)
|
|
3507
|
+
✔ Count with Filter by aliased func (3.948266ms)
|
|
3508
|
+
✔ Count with Aggregate and Filter by aliased func (3.26651ms)
|
|
3509
|
+
✔ Count with complex filter (3.873962ms)
|
|
3510
|
+
✔ Order by aggregation (1.728655ms)
|
|
3511
|
+
✔ Aggregate FILTER and ORDER BY (2.805081ms)
|
|
3512
|
+
✔ Column alias func (1.877284ms)
|
|
3513
|
+
✔ Order by colliding alias name (1.895573ms)
|
|
3514
|
+
✔ Update batch example (14.235998ms)
|
|
3515
|
+
TODO: socket.io stringifies dates
|
|
3516
|
+
✔ Function example (19.68608ms)
|
|
3517
|
+
✔ JSONB filtering (7.698402ms)
|
|
3518
|
+
✔ Postgis examples (23.546859ms)
|
|
3519
|
+
✔ jsonbSchema validation (16.081514ms)
|
|
3520
|
+
✔ find and findOne (1.960737ms)
|
|
3521
|
+
✔ Result size (2.700187ms)
|
|
3522
|
+
✔ Basic exists (2.862954ms)
|
|
3523
|
+
✔ Basic fts with shorthand notation (4.923491ms)
|
|
3524
|
+
✔ Exists with shortest path wildcard filter example (4.313168ms)
|
|
3525
|
+
✔ Exists with exact path filter example (1.49464ms)
|
|
3526
|
+
✔ Not Exists with exact path filter example (1.477633ms)
|
|
3527
|
+
✔ Upsert example (24.810868ms)
|
|
3528
|
+
✔ Joins example (2.301134ms)
|
|
3529
|
+
✔ Joins repeating table example (2.633442ms)
|
|
3530
|
+
✔ Join aggregate functions example (5.92865ms)
|
|
3531
|
+
✔ $rowhash example (8.17811ms)
|
|
3532
|
+
✔ Reference column nested insert (11.941837ms)
|
|
3533
|
+
✔ Join escaped table names with quotes (22.860106ms)
|
|
3534
|
+
(server): {
|
|
3535
|
+
"item": {
|
|
3536
|
+
"\"id0\"": 1,
|
|
3537
|
+
"\"quoted1_id\"": 1,
|
|
3538
|
+
"\"text_col0\"": "0"
|
|
3539
|
+
},
|
|
3540
|
+
"runs": 0
|
|
3541
|
+
}
|
|
3542
|
+
(server): {
|
|
3543
|
+
"item": {
|
|
3544
|
+
"\"id0\"": 1,
|
|
3545
|
+
"\"quoted1_id\"": 1,
|
|
3546
|
+
"\"text_col0\"": "1"
|
|
3547
|
+
},
|
|
3548
|
+
"runs": 1
|
|
3549
|
+
}
|
|
3550
|
+
unsubscribe start - """quoted0"""
|
|
3551
|
+
unsubscribe end - """quoted0"""
|
|
3552
|
+
✔ subscribe to escaped table name (20.197081ms)
|
|
3553
|
+
✔ subscribe using a filter bigger than block_size (17.07208ms)
|
|
3554
|
+
✔ Reverse join with agg (19.181578ms)
|
|
3555
|
+
{
|
|
3556
|
+
_rows: [
|
|
3557
|
+
{ id: 1, t1: null, tr2: [Array], tr3: [] },
|
|
3558
|
+
{ id: 2, t1: null, tr2: [Array], tr3: [] }
|
|
3559
|
+
],
|
|
3560
|
+
runs: 1
|
|
3561
|
+
}
|
|
3562
|
+
{
|
|
3563
|
+
_rows: [
|
|
3564
|
+
{ id: 1, t1: null, tr2: [Array], tr3: [] },
|
|
3565
|
+
{ id: 2, t1: null, tr2: [Array], tr3: [] }
|
|
3566
|
+
],
|
|
3567
|
+
runs: 2
|
|
3568
|
+
}
|
|
3569
|
+
✔ Related table subscribe (9063.9499ms)
|
|
3570
|
+
✔ Aggregate FILTER registers joined dependency triggers (681.149842ms)
|
|
3571
|
+
✔ Nested sort by computed col (10.563003ms)
|
|
3572
|
+
✔ Nested function on different than source column getNewQuery name bug fix (2.564819ms)
|
|
3573
|
+
✔ Reference column deep nested insert (12.791699ms)
|
|
3574
|
+
✔ Multi reference column nested insert (11.598399ms)
|
|
3575
|
+
✔ Join path with order by nested (7.553249ms)
|
|
3576
|
+
✔ Self join (13.062502ms)
|
|
3577
|
+
✔ One to many multi join duplicate row bug fix (13.061778ms)
|
|
3578
|
+
(server): various id=99 count 1
|
|
3579
|
+
(server): various id=99 count
|
|
3580
|
+
ok
|
|
3581
|
+
(server): various id=99 count
|
|
3582
|
+
(server): Error in subscription callback: {"message":"column prostgles_root_table_alias.name does not exist","length":130,"name":"error","severity":"ERROR","code":"42703","position":"107","file":"parse_relation.c","line":"3716","routine":"errorMissingColumn","query":"-- prostgles query id: 76e1068d-7387-40ff-8b81-2c902bff84e2\nSET LOCAL \"prostgles.user\" \nTO '';\nSELECT \n \"prostgles_root_table_alias\".\"name\" AS \"name\" \n FROM ( \n SELECT * \n FROM various \n WHERE \"id\" = 99 \n ) prostgles_root_table_alias \n LIMIT 1000","code_info":"undefined_column"}
|
|
3583
|
+
ok
|
|
3584
|
+
✔ subscribe triggers with stale schema should fail gracefully and never block other queries (6552.916572ms)
|
|
3585
|
+
✔ Isomorphic queries (50809.956298ms)
|
|
3586
|
+
✔ Having clause (1.899504ms)
|
|
3587
|
+
✔ Having clause with complex filter (1.685428ms)
|
|
3588
|
+
(server): Server isomorphic tests successful
|
|
3589
|
+
(server): Stopping server ...
|
|
3590
|
+
ℹ tests 136
|
|
3591
|
+
ℹ suites 2
|
|
3592
|
+
ℹ pass 136
|
|
3593
|
+
ℹ fail 0
|
|
3594
|
+
ℹ cancelled 0
|
|
3595
|
+
ℹ skipped 0
|
|
3596
|
+
ℹ todo 0
|
|
3597
|
+
ℹ duration_ms 85442.399671
|
|
3598
|
+
|
|
3599
|
+
> server_tests@1.0.0 test-client
|
|
3600
|
+
> TEST_TYPE=client node --trace-uncaught --test dist/server/index.js
|
|
3601
|
+
|
|
3602
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
3603
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3604
|
+
|
|
3605
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
3606
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
3607
|
+
id TEXT PRIMARY KEY
|
|
3608
|
+
, "description" TEXT
|
|
3609
|
+
);
|
|
3610
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3611
|
+
|
|
3612
|
+
CREATE TABLE "files" (
|
|
3613
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
3614
|
+
"storage_key" UUID UNIQUE ,
|
|
3615
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
3616
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
3617
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
3618
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
3619
|
+
"original_name" TEXT NOT NULL ,
|
|
3620
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
3621
|
+
"description" TEXT ,
|
|
3622
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
3623
|
+
"cloud_url" TEXT ,
|
|
3624
|
+
"signed_url" TEXT ,
|
|
3625
|
+
"signed_url_expires" BIGINT ,
|
|
3626
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3627
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3628
|
+
"deleted" TIMESTAMPTZ ,
|
|
3629
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
3630
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
3631
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
3632
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
3633
|
+
);
|
|
3634
|
+
CREATE TABLE "files_versions" (
|
|
3635
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
3636
|
+
"storage_key" UUID NOT NULL ,
|
|
3637
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
3638
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
3639
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
3640
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
3641
|
+
"original_name" TEXT NOT NULL ,
|
|
3642
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
3643
|
+
"description" TEXT ,
|
|
3644
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
3645
|
+
"cloud_url" TEXT ,
|
|
3646
|
+
"signed_url" TEXT ,
|
|
3647
|
+
"signed_url_expires" BIGINT ,
|
|
3648
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3649
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3650
|
+
"deleted" TIMESTAMPTZ ,
|
|
3651
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
3652
|
+
"file_id" UUID NOT NULL ,
|
|
3653
|
+
"version" INTEGER NOT NULL ,
|
|
3654
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3655
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
3656
|
+
);
|
|
3657
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
3658
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
3659
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
3660
|
+
CREATE TABLE "users_public_info" (
|
|
3661
|
+
"id" SERIAL PRIMARY KEY ,
|
|
3662
|
+
"name" TEXT ,
|
|
3663
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
3664
|
+
"sid" TEXT
|
|
3665
|
+
);
|
|
3666
|
+
DROP TABLE IF EXISTS "users";
|
|
3667
|
+
CREATE TABLE "users" (
|
|
3668
|
+
"id" SERIAL PRIMARY KEY ,
|
|
3669
|
+
"email" TEXT NOT NULL ,
|
|
3670
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
3671
|
+
"type" TEXT NOT NULL ,
|
|
3672
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
3673
|
+
);
|
|
3674
|
+
DROP TABLE IF EXISTS "tjson";
|
|
3675
|
+
CREATE TABLE "tjson" (
|
|
3676
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
3677
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
3678
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
3679
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
3680
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
3681
|
+
);
|
|
3682
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3683
|
+
|
|
3684
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
3685
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
3686
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
3687
|
+
DROP TABLE IF EXISTS "api_table";
|
|
3688
|
+
CREATE TABLE "api_table" (
|
|
3689
|
+
"id" SERIAL PRIMARY KEY
|
|
3690
|
+
);
|
|
3691
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
3692
|
+
Prostgles: Created typescript schema definition file:
|
|
3693
|
+
DBGeneratedSchema.ts
|
|
3694
|
+
(server): prostgles onReady
|
|
3695
|
+
(server): Waiting for client...
|
|
3696
|
+
(client) t+ 0ms Started client...
|
|
3697
|
+
onSocketConnect ITwGi2sAEh-Eq6jIAAAA
|
|
3698
|
+
(server): Client connected -> console does not work. use log function. socket.id: ITwGi2sAEh-Eq6jIAAAA
|
|
3699
|
+
(client) t+ 40ms Client connect.
|
|
3700
|
+
(client) t+ 169ms TEST_NAME: syncTriggerCleanup Started
|
|
3701
|
+
Created PubSubManager
|
|
3702
|
+
Pushing 0 rows to socket
|
|
3703
|
+
✔ subscription receives an update immediately after another trigger is deleted (457.573692ms)
|
|
3704
|
+
Pushing 1 rows to socket x2
|
|
3705
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
3706
|
+
Client log (client) t+ 3305ms TEST_NAME: syncTriggerCleanup Finished OK
|
|
3707
|
+
✔ unsubscribe cleanup preserves a sync being registered (2673.899784ms)
|
|
3708
|
+
Client test successful
|
|
3709
|
+
(server): Stopping server ...
|
|
3710
|
+
ℹ tests 2
|
|
3711
|
+
ℹ suites 0
|
|
3712
|
+
ℹ pass 2
|
|
3713
|
+
ℹ fail 0
|
|
3714
|
+
ℹ cancelled 0
|
|
3715
|
+
ℹ skipped 0
|
|
3716
|
+
ℹ todo 0
|
|
3717
|
+
ℹ duration_ms 11490.595448
|
|
3718
|
+
|
|
3719
|
+
> server_tests@1.0.0 test-client
|
|
3720
|
+
> TEST_TYPE=client node --trace-uncaught --test dist/server/index.js
|
|
3721
|
+
|
|
3722
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
3723
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3724
|
+
|
|
3725
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
3726
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
3727
|
+
id TEXT PRIMARY KEY
|
|
3728
|
+
, "description" TEXT
|
|
3729
|
+
);
|
|
3730
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('a','desc') ON CONFLICT DO NOTHING;
|
|
3731
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('b',null) ON CONFLICT DO NOTHING;
|
|
3732
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3733
|
+
|
|
3734
|
+
CREATE TABLE "files" (
|
|
3735
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
3736
|
+
"storage_key" UUID UNIQUE ,
|
|
3737
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
3738
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
3739
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
3740
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
3741
|
+
"original_name" TEXT NOT NULL ,
|
|
3742
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
3743
|
+
"description" TEXT ,
|
|
3744
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
3745
|
+
"cloud_url" TEXT ,
|
|
3746
|
+
"signed_url" TEXT ,
|
|
3747
|
+
"signed_url_expires" BIGINT ,
|
|
3748
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3749
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3750
|
+
"deleted" TIMESTAMPTZ ,
|
|
3751
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
3752
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
3753
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
3754
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
3755
|
+
);
|
|
3756
|
+
CREATE TABLE "files_versions" (
|
|
3757
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
3758
|
+
"storage_key" UUID NOT NULL ,
|
|
3759
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
3760
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
3761
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
3762
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
3763
|
+
"original_name" TEXT NOT NULL ,
|
|
3764
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
3765
|
+
"description" TEXT ,
|
|
3766
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
3767
|
+
"cloud_url" TEXT ,
|
|
3768
|
+
"signed_url" TEXT ,
|
|
3769
|
+
"signed_url_expires" BIGINT ,
|
|
3770
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3771
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3772
|
+
"deleted" TIMESTAMPTZ ,
|
|
3773
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
3774
|
+
"file_id" UUID NOT NULL ,
|
|
3775
|
+
"version" INTEGER NOT NULL ,
|
|
3776
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
3777
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
3778
|
+
);
|
|
3779
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
3780
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
3781
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
3782
|
+
CREATE TABLE "users_public_info" (
|
|
3783
|
+
"id" SERIAL PRIMARY KEY ,
|
|
3784
|
+
"name" TEXT ,
|
|
3785
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
3786
|
+
"sid" TEXT
|
|
3787
|
+
);
|
|
3788
|
+
DROP TABLE IF EXISTS "users";
|
|
3789
|
+
CREATE TABLE "users" (
|
|
3790
|
+
"id" SERIAL PRIMARY KEY ,
|
|
3791
|
+
"email" TEXT NOT NULL ,
|
|
3792
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
3793
|
+
"type" TEXT NOT NULL ,
|
|
3794
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
3795
|
+
);
|
|
3796
|
+
DROP TABLE IF EXISTS "tjson";
|
|
3797
|
+
CREATE TABLE "tjson" (
|
|
3798
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
3799
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
3800
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
3801
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
3802
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
3803
|
+
);
|
|
3804
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
3805
|
+
|
|
3806
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
3807
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
3808
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
3809
|
+
DROP TABLE IF EXISTS "api_table";
|
|
3810
|
+
CREATE TABLE "api_table" (
|
|
3811
|
+
"id" SERIAL PRIMARY KEY
|
|
3812
|
+
);
|
|
3813
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
3814
|
+
(server): prostgles onReady
|
|
3815
|
+
(server): Waiting for client...
|
|
3816
|
+
(client) t+ 0ms Started client...
|
|
3817
|
+
onSocketConnect tfgsqnXoyJn5RRO_AAAA
|
|
3818
|
+
(server): Client connected -> console does not work. use log function. socket.id: tfgsqnXoyJn5RRO_AAAA
|
|
3819
|
+
(client) t+ 43ms Client connect.
|
|
3820
|
+
(client) t+ 167ms TEST_NAME: main Started
|
|
3821
|
+
Client log (client) t+ 181ms Starting isomorphic queries
|
|
3822
|
+
▶ Isomorphic queries
|
|
3823
|
+
✔ Deleting stale data (27.436239ms)
|
|
3824
|
+
{
|
|
3825
|
+
message: 'malformed array literal: "a"',
|
|
3826
|
+
length: 149,
|
|
3827
|
+
name: 'error',
|
|
3828
|
+
severity: 'ERROR',
|
|
3829
|
+
code: '22P02',
|
|
3830
|
+
detail: 'Array value must start with "{" or dimension information.',
|
|
3831
|
+
position: '325',
|
|
3832
|
+
file: 'arrayfuncs.c',
|
|
3833
|
+
line: '262',
|
|
3834
|
+
routine: 'array_in',
|
|
3835
|
+
query: '-- prostgles query id: a7ae515f-aef0-44e8-b4da-a70501611b04\n' +
|
|
3836
|
+
'SET LOCAL "prostgles.user" \n' +
|
|
3837
|
+
`TO '{"id":"1","type":"public"}';\n` +
|
|
3838
|
+
'SELECT \n' +
|
|
3839
|
+
' "prostgles_root_table_alias"."id" AS "id", \n' +
|
|
3840
|
+
' "prostgles_root_table_alias"."h" AS "h", \n' +
|
|
3841
|
+
' "prostgles_root_table_alias"."name" AS "name" \n' +
|
|
3842
|
+
' FROM ( \n' +
|
|
3843
|
+
' SELECT * \n' +
|
|
3844
|
+
' FROM items \n' +
|
|
3845
|
+
` WHERE "h" = 'a' \n` +
|
|
3846
|
+
' ) prostgles_root_table_alias \n' +
|
|
3847
|
+
' LIMIT 0',
|
|
3848
|
+
code_info: 'invalid_text_representation'
|
|
3849
|
+
}
|
|
3850
|
+
{
|
|
3851
|
+
message: 'malformed array literal: "a"',
|
|
3852
|
+
length: 149,
|
|
3853
|
+
name: 'error',
|
|
3854
|
+
severity: 'ERROR',
|
|
3855
|
+
code: '22P02',
|
|
3856
|
+
detail: 'Array value must start with "{" or dimension information.',
|
|
3857
|
+
position: '325',
|
|
3858
|
+
file: 'arrayfuncs.c',
|
|
3859
|
+
line: '262',
|
|
3860
|
+
routine: 'array_in',
|
|
3861
|
+
query: '-- prostgles query id: f8d06993-35f0-4eae-97c7-b17e2a359255\n' +
|
|
3862
|
+
'SET LOCAL "prostgles.user" \n' +
|
|
3863
|
+
`TO '{"id":"1","type":"public"}';\n` +
|
|
3864
|
+
'SELECT \n' +
|
|
3865
|
+
' "prostgles_root_table_alias"."id" AS "id", \n' +
|
|
3866
|
+
' "prostgles_root_table_alias"."h" AS "h", \n' +
|
|
3867
|
+
' "prostgles_root_table_alias"."name" AS "name" \n' +
|
|
3868
|
+
' FROM ( \n' +
|
|
3869
|
+
' SELECT * \n' +
|
|
3870
|
+
' FROM items \n' +
|
|
3871
|
+
` WHERE "h" = 'a' \n` +
|
|
3872
|
+
' ) prostgles_root_table_alias \n' +
|
|
3873
|
+
' LIMIT 0',
|
|
3874
|
+
code_info: 'invalid_text_representation'
|
|
3875
|
+
}
|
|
3876
|
+
✔ Error structure malformed array literal (69.953267ms)
|
|
3877
|
+
✔ Table info (2.275258ms)
|
|
3878
|
+
✔ Prepare data (87.666244ms)
|
|
3879
|
+
✔ Test bytea (14.87705ms)
|
|
3880
|
+
✔ abortSignal terminates a running query (5553.511167ms)
|
|
3881
|
+
✔ Client queries are aborted no more than after n seconds (14015.354215ms)
|
|
3882
|
+
✔ Subscription tracked_columns get merged correctly (0.652295ms)
|
|
3883
|
+
Created PubSubManager
|
|
3884
|
+
✔ Aggregate subscription tracks FILTER and ORDER BY dependencies (1054.715256ms)
|
|
3885
|
+
✔ CASE select and subscription dependencies (664.207971ms)
|
|
3886
|
+
✔ Subscription tracks non-selected ORDER BY columns (653.990094ms)
|
|
3887
|
+
✔ merge json (15.920505ms)
|
|
3888
|
+
✔ json array converted to pg array filter bug (2.526093ms)
|
|
3889
|
+
✔ onConflict do update (9.439515ms)
|
|
3890
|
+
✔ Local file upload (68.596505ms)
|
|
3891
|
+
✔ Local file delete (45.801148ms)
|
|
3892
|
+
✔ Local file update (82.347348ms)
|
|
3893
|
+
✔ getColumns definition (10.375997ms)
|
|
3894
|
+
✔ returnType (2.993042ms)
|
|
3895
|
+
✔ Table config triggers (22.468503ms)
|
|
3896
|
+
✔ $unnest_words (2.510262ms)
|
|
3897
|
+
✔ Group by/Distinct (4.134049ms)
|
|
3898
|
+
✔ sql returntype default-with-rollback (35.130407ms)
|
|
3899
|
+
✔ returnType: value (2.351295ms)
|
|
3900
|
+
✔ PostgreSQL array element (11.367292ms)
|
|
3901
|
+
✔ FTS filtering (13.187699ms)
|
|
3902
|
+
✔ $term_highlight (8.536902ms)
|
|
3903
|
+
✔ funcFilters: $term_highlight (2.094023ms)
|
|
3904
|
+
Client log (client) t+ 22689ms [{"name":null}]
|
|
3905
|
+
Client log (client) t+ 22712ms [{"name":"zz3zz1"}]
|
|
3906
|
+
Pushing 1 rows to socket x9
|
|
3907
|
+
Client log (client) t+ 23368ms []
|
|
3908
|
+
✔ subscribe skipChangedColumnsCheck false by default = sub should not fire if selected data did not change (891.528589ms)
|
|
3909
|
+
Pushing 0 rows to socket
|
|
3910
|
+
Client log (client) t+ 26113ms [{"name":null}]
|
|
3911
|
+
Client log (client) t+ 26124ms [{"name":"zz3zz1"}]
|
|
3912
|
+
Client log (client) t+ 26349ms [{"name":"zz3zz1"}]
|
|
3913
|
+
Client log (client) t+ 26569ms [{"name":"zz3zz1"}]
|
|
3914
|
+
Pushing 1 rows to socket x4
|
|
3915
|
+
Client log (client) t+ 26790ms []
|
|
3916
|
+
✔ subscribe skipChangedColumnsCheck true (3421.59839ms)
|
|
3917
|
+
Pushing 0 rows to socket
|
|
3918
|
+
Pushing 1 rows to socket x4
|
|
3919
|
+
Client log unsubscribe start - various
|
|
3920
|
+
Client log unsubscribe end - various
|
|
3921
|
+
✔ subscribe (71.541961ms)
|
|
3922
|
+
Pushing 0 rows to socket
|
|
3923
|
+
Pushing 1 rows to socket
|
|
3924
|
+
✔ subscribe to schema.table (24.251304ms)
|
|
3925
|
+
Pushing 2 rows to socket
|
|
3926
|
+
✔ parallel subscriptions (2011.753979ms)
|
|
3927
|
+
Client log (client) t+ 33457ms updateAll done in 1852
|
|
3928
|
+
Client log (client) t+ 35226ms updateAll done in 1764
|
|
3929
|
+
Pushing 0 rows to socket
|
|
3930
|
+
Pushing 3 rows to socket
|
|
3931
|
+
Pushing 995 rows to socket
|
|
3932
|
+
Client log (client) t+ 37583ms updateAll done in 2337
|
|
3933
|
+
Pushing 1000 rows to socket x2
|
|
3934
|
+
✔ subscriptions do not serialize transactions (10505.932191ms)
|
|
3935
|
+
Pushing 3 rows to socket
|
|
3936
|
+
Pushing 1 rows to socket
|
|
3937
|
+
throttling sub for 1700 ms
|
|
3938
|
+
throttling finished. pushSubData...
|
|
3939
|
+
Pushing 1 rows to socket
|
|
3940
|
+
throttling sub for 1700 ms
|
|
3941
|
+
✔ subscribeOne with throttle (1741.830197ms)
|
|
3942
|
+
throttling sub for 1700 ms
|
|
3943
|
+
throttling finished. pushSubData...
|
|
3944
|
+
✔ subscribeOne with throttle skipFirst: true (1704.615298ms)
|
|
3945
|
+
Pushing 1 rows to socket
|
|
3946
|
+
throttling finished. pushSubData...
|
|
3947
|
+
Pushing 1 rows to socket
|
|
3948
|
+
✔ subscribeOne without skipFirst (1042.680243ms)
|
|
3949
|
+
Pushing 0 rows to socket
|
|
3950
|
+
Pushing 1 rows to socket
|
|
3951
|
+
✔ subscribeOne with skipFirst: true (1546.0845ms)
|
|
3952
|
+
Pushing 0 rows to socket x2
|
|
3953
|
+
✔ subscribeOne actions: { insert: true } (1542.837019ms)
|
|
3954
|
+
Pushing 1 rows to socket
|
|
3955
|
+
✔ subscribeOne actions: { insert: false } (1539.864925ms)
|
|
3956
|
+
✔ JSON filtering (2.262586ms)
|
|
3957
|
+
✔ Complex filtering (2.224955ms)
|
|
3958
|
+
✔ template_string function (2.922959ms)
|
|
3959
|
+
✔ Between filtering (1.830695ms)
|
|
3960
|
+
✔ In filtering (1.297391ms)
|
|
3961
|
+
✔ Order by (1.800974ms)
|
|
3962
|
+
✔ Order by aliased func (1.127255ms)
|
|
3963
|
+
✔ Filter by aliased func (0.972362ms)
|
|
3964
|
+
✔ Count with Filter by aliased func (1.299802ms)
|
|
3965
|
+
✔ Count with Aggregate and Filter by aliased func (1.268207ms)
|
|
3966
|
+
✔ Count with complex filter (1.169826ms)
|
|
3967
|
+
✔ Order by aggregation (0.972139ms)
|
|
3968
|
+
✔ Aggregate FILTER and ORDER BY (1.292052ms)
|
|
3969
|
+
✔ Column alias func (1.10529ms)
|
|
3970
|
+
✔ Order by colliding alias name (1.167122ms)
|
|
3971
|
+
✔ Update batch example (12.533375ms)
|
|
3972
|
+
Client log TODO: socket.io stringifies dates
|
|
3973
|
+
✔ Function example (11.664575ms)
|
|
3974
|
+
✔ JSONB filtering (4.967199ms)
|
|
3975
|
+
✔ Postgis examples (16.894187ms)
|
|
3976
|
+
✔ jsonbSchema validation (9.911126ms)
|
|
3977
|
+
✔ find and findOne (1.513287ms)
|
|
3978
|
+
✔ Result size (2.176431ms)
|
|
3979
|
+
✔ Basic exists (4.503513ms)
|
|
3980
|
+
✔ Basic fts with shorthand notation (4.886331ms)
|
|
3981
|
+
✔ Exists with shortest path wildcard filter example (4.536306ms)
|
|
3982
|
+
✔ Exists with exact path filter example (1.063324ms)
|
|
3983
|
+
✔ Not Exists with exact path filter example (2.67978ms)
|
|
3984
|
+
✔ Upsert example (20.813577ms)
|
|
3985
|
+
✔ Joins example (4.379779ms)
|
|
3986
|
+
✔ Joins repeating table example (4.925261ms)
|
|
3987
|
+
✔ Join aggregate functions example (13.173064ms)
|
|
3988
|
+
✔ $rowhash example (8.602939ms)
|
|
3989
|
+
✔ Reference column nested insert (10.296847ms)
|
|
3990
|
+
✔ Join escaped table names with quotes (20.135856ms)
|
|
3991
|
+
Pushing 0 rows to socket x2
|
|
3992
|
+
Client log (client) t+ 48910ms {
|
|
3993
|
+
"item": {
|
|
3994
|
+
"\"id0\"": 1,
|
|
3995
|
+
"\"quoted1_id\"": 1,
|
|
3996
|
+
"\"text_col0\"": "0"
|
|
3997
|
+
},
|
|
3998
|
+
"runs": 0
|
|
3999
|
+
}
|
|
4000
|
+
Client log (client) t+ 48920ms {
|
|
4001
|
+
"item": {
|
|
4002
|
+
"\"id0\"": 1,
|
|
4003
|
+
"\"quoted1_id\"": 1,
|
|
4004
|
+
"\"text_col0\"": "1"
|
|
4005
|
+
},
|
|
4006
|
+
"runs": 1
|
|
4007
|
+
}
|
|
4008
|
+
Client log unsubscribe start - """quoted0"""
|
|
4009
|
+
Client log unsubscribe end - """quoted0"""
|
|
4010
|
+
✔ subscribe to escaped table name (17.539268ms)
|
|
4011
|
+
Pushing 1 rows to socket x2
|
|
4012
|
+
✔ subscribe using a filter bigger than block_size (15.728237ms)
|
|
4013
|
+
✔ Reverse join with agg (10.061856ms)
|
|
4014
|
+
Pushing 0 rows to socket
|
|
4015
|
+
Client log {"_rows":[{"id":1,"t1":null,"tr2":[{"id":1,"tr1_id":1,"t1":"a","t2":"b"}],"tr3":[]},{"id":2,"t1":null,"tr2":[{"id":2,"tr1_id":2,"t1":"a","t2":"b"}],"tr3":[]}],"runs":1}
|
|
4016
|
+
Client log {"_rows":[{"id":1,"t1":null,"tr2":[{"id":1,"tr1_id":1,"t1":"a","t2":"b"},{"id":3,"tr1_id":1,"t1":"a","t2":"b"}],"tr3":[]},{"id":2,"t1":null,"tr2":[{"id":2,"tr1_id":2,"t1":"a","t2":"b"}],"tr3":[]}],"runs":2}
|
|
4017
|
+
✔ Related table subscribe (9049.482897ms)
|
|
4018
|
+
Pushing 2 rows to socket x2
|
|
4019
|
+
✔ Aggregate FILTER registers joined dependency triggers (684.000373ms)
|
|
4020
|
+
✔ Nested sort by computed col (10.086153ms)
|
|
4021
|
+
✔ Nested function on different than source column getNewQuery name bug fix (2.078671ms)
|
|
4022
|
+
✔ Reference column deep nested insert (12.239621ms)
|
|
4023
|
+
✔ Multi reference column nested insert (10.246635ms)
|
|
4024
|
+
✔ Join path with order by nested (7.446954ms)
|
|
4025
|
+
✔ Self join (12.649748ms)
|
|
4026
|
+
✔ One to many multi join duplicate row bug fix (10.237783ms)
|
|
4027
|
+
Client log (client) t+ 58753ms various id=99 count 1
|
|
4028
|
+
Pushing 1 rows to socket x3
|
|
4029
|
+
Client log (client) t+ 58755ms various id=99 count
|
|
4030
|
+
Client log ok
|
|
4031
|
+
Error within running subscription
|
|
4032
|
+
_psqlWS_..various.{"id":99}.{"select":{"name":1}}.m.sub {
|
|
4033
|
+
message: 'column prostgles_root_table_alias.name does not exist',
|
|
4034
|
+
length: 130,
|
|
4035
|
+
name: 'error',
|
|
4036
|
+
severity: 'ERROR',
|
|
4037
|
+
code: '42703',
|
|
4038
|
+
position: '133',
|
|
4039
|
+
file: 'parse_relation.c',
|
|
4040
|
+
line: '3716',
|
|
4041
|
+
routine: 'errorMissingColumn',
|
|
4042
|
+
query: '-- prostgles query id: 8c241f3e-b13f-499c-8b81-5d839eae512a\n' +
|
|
4043
|
+
'SET LOCAL "prostgles.user" \n' +
|
|
4044
|
+
`TO '{"id":"1","type":"public"}';\n` +
|
|
4045
|
+
'SELECT \n' +
|
|
4046
|
+
' "prostgles_root_table_alias"."name" AS "name" \n' +
|
|
4047
|
+
' FROM ( \n' +
|
|
4048
|
+
' SELECT * \n' +
|
|
4049
|
+
' FROM various \n' +
|
|
4050
|
+
' WHERE "id" = 99 \n' +
|
|
4051
|
+
' ) prostgles_root_table_alias \n' +
|
|
4052
|
+
' LIMIT 1000',
|
|
4053
|
+
code_info: 'undefined_column'
|
|
4054
|
+
}
|
|
4055
|
+
Client log (client) t+ 60776ms various id=99 count
|
|
4056
|
+
Client log (client) t+ 60776ms Error in subscription callback: {"message":"column prostgles_root_table_alias.name does not exist","length":130,"name":"error","severity":"ERROR","code":"42703","position":"133","file":"parse_relation.c","line":"3716","routine":"errorMissingColumn","query":"-- prostgles query id: 8c241f3e-b13f-499c-8b81-5d839eae512a\nSET LOCAL \"prostgles.user\" \nTO '{\"id\":\"1\",\"type\":\"public\"}';\nSELECT \n \"prostgles_root_table_alias\".\"name\" AS \"name\" \n FROM ( \n SELECT * \n FROM various \n WHERE \"id\" = 99 \n ) prostgles_root_table_alias \n LIMIT 1000","code_info":"undefined_column"}
|
|
4057
|
+
Client log ok
|
|
4058
|
+
✔ subscribe triggers with stale schema should fail gracefully and never block other queries (6539.292851ms)
|
|
4059
|
+
✔ Isomorphic queries (65098.980907ms)
|
|
4060
|
+
✔ Having clause (3.013688ms)
|
|
4061
|
+
✔ Having clause with complex filter (2.927186ms)
|
|
4062
|
+
Client log (client) t+ 65303ms auth.user: {"sid":"main","uid":"1","id":"1","type":"public"}
|
|
4063
|
+
✔ Nested join having clause (5.394802ms)
|
|
4064
|
+
▶ isomorphic typed queries
|
|
4065
|
+
✔ isLookupTable DB Types from colConf (0.200702ms)
|
|
4066
|
+
✔ isLookupTable DB Types from reference column actual definition (0.109186ms)
|
|
4067
|
+
✔ isLookupTable pkey column itself is typed (0.084191ms)
|
|
4068
|
+
✔ isomorphic typed queries (0.569632ms)
|
|
4069
|
+
▶ Client only queries
|
|
4070
|
+
✔ modifyClientSchema adds custom table and column metadata (3.030768ms)
|
|
4071
|
+
✔ SQL Stream more than 1k records (21.356433ms)
|
|
4072
|
+
✔ SQL Stream persistedConnection with streamLimit works for subsequent queries (13.417406ms)
|
|
4073
|
+
✔ SQL Stream ensure the connection is never released (same pg_backend_pid is the same for subsequent) when using persistConnectionId (13.410829ms)
|
|
4074
|
+
✔ SQL Stream stop kills the query (1029.36323ms)
|
|
4075
|
+
✔ SQL Stream limit works (35.663628ms)
|
|
4076
|
+
✔ SQL Stream stop with terminate kills the query (expect flakiness) (135.904542ms)
|
|
4077
|
+
✔ SQL Stream (14.976852ms)
|
|
4078
|
+
✔ SQL Stream parallel execution + parameters (14.719144ms)
|
|
4079
|
+
✔ SQL Stream query error structure matches default sql run error (13.630031ms)
|
|
4080
|
+
✔ SQL Stream streamLimit (15.537263ms)
|
|
4081
|
+
✔ SQL Stream table fields are the same as on default request (27.047168ms)
|
|
4082
|
+
✔ SQL Stream works for multiple statements (13.880982ms)
|
|
4083
|
+
✔ Check tableSchema (19.987556ms)
|
|
4084
|
+
Client log (client) t+ 66676ms Checking public data
|
|
4085
|
+
✔ Security rules example (69.455471ms)
|
|
4086
|
+
Client log (client) t+ 66763ms Started testRealtime
|
|
4087
|
+
Client log (client) t+ 66811ms 1790879111140: sub stats: x10 -> 0 x20 ->0
|
|
4088
|
+
Client log (client) t+ 66823ms 1790879111152: sync stats: x10 -> 0 x20 -> 0
|
|
4089
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 0)
|
|
4090
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 1)
|
|
4091
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 2)
|
|
4092
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 3)
|
|
4093
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 4)
|
|
4094
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 5)
|
|
4095
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 6)
|
|
4096
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 7)
|
|
4097
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 8)
|
|
4098
|
+
Client log (client) t+ 66824ms 1790879111153: sync: p.$update({ x: 10 }); (id: 9)
|
|
4099
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 10)
|
|
4100
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 11)
|
|
4101
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 12)
|
|
4102
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 13)
|
|
4103
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 14)
|
|
4104
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 15)
|
|
4105
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 16)
|
|
4106
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 17)
|
|
4107
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 18)
|
|
4108
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 19)
|
|
4109
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 20)
|
|
4110
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 21)
|
|
4111
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 22)
|
|
4112
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 23)
|
|
4113
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 24)
|
|
4114
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 25)
|
|
4115
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 26)
|
|
4116
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 27)
|
|
4117
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 28)
|
|
4118
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 29)
|
|
4119
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 30)
|
|
4120
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 31)
|
|
4121
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 32)
|
|
4122
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 33)
|
|
4123
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 34)
|
|
4124
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 35)
|
|
4125
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 36)
|
|
4126
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 37)
|
|
4127
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 38)
|
|
4128
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 39)
|
|
4129
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 40)
|
|
4130
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 41)
|
|
4131
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 42)
|
|
4132
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 43)
|
|
4133
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 44)
|
|
4134
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 45)
|
|
4135
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 46)
|
|
4136
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 47)
|
|
4137
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 48)
|
|
4138
|
+
Client log (client) t+ 66825ms 1790879111154: sync: p.$update({ x: 10 }); (id: 49)
|
|
4139
|
+
Pushing 0 rows to socket x3
|
|
4140
|
+
upsertData (from client): inserted( 0 ) updated( 50 ) total( 50 )
|
|
4141
|
+
last insert undefined
|
|
4142
|
+
last update {"id":49,"x":10,"y":49,"flight_number":"FN49","last_updated":1790879111154}
|
|
4143
|
+
Client log (client) t+ 66938ms 1790879111267: sub stats: x10 -> 50 x20 ->0
|
|
4144
|
+
Pushing 50 rows to socket
|
|
4145
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 50 )
|
|
4146
|
+
last insert undefined
|
|
4147
|
+
last update undefined
|
|
4148
|
+
server.syncBatch planes: inserted( 0 ) updated( 50 ) deleted( 0 ) pushed to client( 50 ) total( 100 ) undefined
|
|
4149
|
+
Client log (client) t+ 66948ms 1790879111277: sync stats: x10 -> 50 x20 -> 0
|
|
4150
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 50)
|
|
4151
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 51)
|
|
4152
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 52)
|
|
4153
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 53)
|
|
4154
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 54)
|
|
4155
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 55)
|
|
4156
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 56)
|
|
4157
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 57)
|
|
4158
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 58)
|
|
4159
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 59)
|
|
4160
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 60)
|
|
4161
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 61)
|
|
4162
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 62)
|
|
4163
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 63)
|
|
4164
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 64)
|
|
4165
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 65)
|
|
4166
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 66)
|
|
4167
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 67)
|
|
4168
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 68)
|
|
4169
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 69)
|
|
4170
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 70)
|
|
4171
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 71)
|
|
4172
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 72)
|
|
4173
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 73)
|
|
4174
|
+
Client log (client) t+ 66948ms 1790879111277: sync: p.$update({ x: 10 }); (id: 74)
|
|
4175
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 75)
|
|
4176
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 76)
|
|
4177
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 77)
|
|
4178
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 78)
|
|
4179
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 79)
|
|
4180
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 80)
|
|
4181
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 81)
|
|
4182
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 82)
|
|
4183
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 83)
|
|
4184
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 84)
|
|
4185
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 85)
|
|
4186
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 86)
|
|
4187
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 87)
|
|
4188
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 88)
|
|
4189
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 89)
|
|
4190
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 90)
|
|
4191
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 91)
|
|
4192
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 92)
|
|
4193
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 93)
|
|
4194
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 94)
|
|
4195
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 95)
|
|
4196
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 96)
|
|
4197
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 97)
|
|
4198
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 98)
|
|
4199
|
+
Client log (client) t+ 66949ms 1790879111278: sync: p.$update({ x: 10 }); (id: 99)
|
|
4200
|
+
Client log (client) t+ 66953ms 1790879111282: sync stats: x10 -> 100 x20 -> 0
|
|
4201
|
+
upsertData (from WAL): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4202
|
+
last insert undefined
|
|
4203
|
+
last update undefined
|
|
4204
|
+
upsertData (from WAL): inserted( 0 ) updated( 1 ) total( 50 )
|
|
4205
|
+
last insert undefined
|
|
4206
|
+
last update {"id":50,"x":10,"last_updated":1790879111277}
|
|
4207
|
+
Client log (client) t+ 67080ms 1790879111409: sub stats: x10 -> 51 x20 ->0
|
|
4208
|
+
Pushing 51 rows to socket
|
|
4209
|
+
upsertData (from WAL): inserted( 0 ) updated( 49 ) total( 49 )
|
|
4210
|
+
last insert undefined
|
|
4211
|
+
last update {"id":99,"x":10,"last_updated":1790879111278}
|
|
4212
|
+
Client log (client) t+ 67257ms 1790879111586: sub stats: x10 -> 100 x20 ->0
|
|
4213
|
+
Client log (client) t+ 69259ms 1790879113588: sub: db.planes.update({}, { x: 20, last_updated });
|
|
4214
|
+
Client log (client) t+ 69285ms 1790879113607: sub: Updated to x20 100
|
|
4215
|
+
Pushing 100 rows to socket
|
|
4216
|
+
Client log (client) t+ 69302ms 1790879113631: sync stats: x10 -> 50 x20 -> 50
|
|
4217
|
+
Client log (client) t+ 69321ms 1790879113650: sync stats: x10 -> 0 x20 -> 100
|
|
4218
|
+
✔ Realtime (2575.28434ms)
|
|
4219
|
+
Client log (client) t+ 69321ms 1790879113650: sync end: Finished replication test. Inserting 100 rows then updating two times took: 558ms
|
|
4220
|
+
Client log (client) t+ 69322ms sync handlesOnData true 100
|
|
4221
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 25 )
|
|
4222
|
+
last insert undefined
|
|
4223
|
+
last update undefined x2
|
|
4224
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 100 ) total( 100 ) undefined
|
|
4225
|
+
✔ sync handlesOnData true -> false no data bug (2001.802284ms)
|
|
4226
|
+
﹣ Security rules example (0.37742ms) # SKIP
|
|
4227
|
+
✔ Client only queries (6020.567109ms)
|
|
4228
|
+
▶ React hooks
|
|
4229
|
+
✔ useFind (525.252097ms)
|
|
4230
|
+
{
|
|
4231
|
+
message: 'items4.named is invalid/disallowed for filtering. Allowed columns: added, "id", "public", "name"'
|
|
4232
|
+
}
|
|
4233
|
+
✔ useSubscribe (528.260776ms)
|
|
4234
|
+
✔ useFindOne (513.380558ms)
|
|
4235
|
+
Pushing 1 rows to socket
|
|
4236
|
+
{
|
|
4237
|
+
message: 'items4.named is invalid/disallowed for filtering. Allowed columns: added, "id", "public", "name"'
|
|
4238
|
+
}
|
|
4239
|
+
✔ useSubscribeOne (527.265023ms)
|
|
4240
|
+
✔ useCount (516.320038ms)
|
|
4241
|
+
✔ useSize (515.412115ms)
|
|
4242
|
+
✔ useCount planes (255.170852ms)
|
|
4243
|
+
Pushing 2 rows to socket
|
|
4244
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 50 )
|
|
4245
|
+
last insert undefined
|
|
4246
|
+
last update undefined
|
|
4247
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4248
|
+
last insert undefined
|
|
4249
|
+
last update undefined
|
|
4250
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4251
|
+
Client log (client) t+ 75045ms 1790879119374: sync stats: x10 -> 0 x20 -> 99
|
|
4252
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 50 )
|
|
4253
|
+
last insert undefined
|
|
4254
|
+
last update undefined
|
|
4255
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 2 ) total( 100 ) undefined
|
|
4256
|
+
✔ useSync (571.057789ms)
|
|
4257
|
+
Client log (client) t+ 75318ms 1790879119647: sync stats: x10 -> 0 x20 -> 100
|
|
4258
|
+
Client log (client) t+ 75318ms 1790879119647: sync end: Finished replication test. Inserting 100 rows then updating two times took: 6555ms
|
|
4259
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4260
|
+
last insert undefined
|
|
4261
|
+
last update undefined x2
|
|
4262
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4263
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4264
|
+
Client log (client) t+ 75602ms 1790879119931: sync stats: x10 -> 0 x20 -> 99
|
|
4265
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4266
|
+
last insert undefined
|
|
4267
|
+
last update undefined
|
|
4268
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4269
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4270
|
+
last insert undefined
|
|
4271
|
+
last update undefined
|
|
4272
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4273
|
+
✔ useSync updates invalidate useMemo without mutating old data (369.401133ms)
|
|
4274
|
+
upsertData (from WAL): inserted( 0 ) updated( 1 ) total( 1 )
|
|
4275
|
+
last insert undefined
|
|
4276
|
+
last update {"id":0,"x":232,"last_updated":1790879119957}
|
|
4277
|
+
Client log (client) t+ 75670ms 1790879119999: sync stats: x10 -> 0 x20 -> 99
|
|
4278
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4279
|
+
last insert undefined
|
|
4280
|
+
last update undefined
|
|
4281
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4282
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4283
|
+
last insert undefined
|
|
4284
|
+
last update undefined
|
|
4285
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4286
|
+
Client log (client) t+ 75970ms 1790879120299: sync stats: x10 -> 0 x20 -> 99
|
|
4287
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4288
|
+
last insert undefined
|
|
4289
|
+
last update undefined x2
|
|
4290
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4291
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4292
|
+
✔ concurrent useSync hooks with matching options all update (360.63419ms)
|
|
4293
|
+
upsertData (from WAL): inserted( 0 ) updated( 1 ) total( 1 )
|
|
4294
|
+
last insert undefined
|
|
4295
|
+
last update {"id":0,"x":32,"last_updated":1790879120317}
|
|
4296
|
+
Client log (client) t+ 76016ms 1790879120345: sync stats: x10 -> 0 x20 -> 99
|
|
4297
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4298
|
+
last insert undefined
|
|
4299
|
+
last update undefined
|
|
4300
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 1 ) total( 1 ) undefined
|
|
4301
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4302
|
+
last insert undefined
|
|
4303
|
+
last update undefined
|
|
4304
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 51 ) total( 52 ) undefined
|
|
4305
|
+
Client log (client) t+ 76304ms Reconnected
|
|
4306
|
+
Client log (client) t+ 76345ms TEST_NAME: main Started
|
|
4307
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 50 )
|
|
4308
|
+
last insert undefined
|
|
4309
|
+
last update undefined
|
|
4310
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4311
|
+
last insert undefined
|
|
4312
|
+
last update undefined
|
|
4313
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 151 ) total( 201 ) undefined
|
|
4314
|
+
Client log (client) t+ 76374ms 1790879120703: sync stats: x10 -> 1 x20 -> 100
|
|
4315
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999000)
|
|
4316
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999001)
|
|
4317
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999002)
|
|
4318
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999003)
|
|
4319
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999004)
|
|
4320
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999005)
|
|
4321
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999006)
|
|
4322
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999007)
|
|
4323
|
+
Client log (client) t+ 76374ms 1790879120703: sync: p.$update({ x: 10 }); (id: 999008)
|
|
4324
|
+
Client log (client) t+ 76374ms 1790879120703: sync end: Finished replication test. Inserting 100 rows then updating two times took: 7611ms
|
|
4325
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 52 ) total( 53 ) undefined
|
|
4326
|
+
Client log (client) t+ 76377ms 1790879120706: sync stats: x10 -> 10 x20 -> 100
|
|
4327
|
+
Client log (client) t+ 76378ms 1790879120707: sync end: Finished replication test. Inserting 100 rows then updating two times took: 7615ms
|
|
4328
|
+
(server): Client disconnected. socket.id: tfgsqnXoyJn5RRO_AAAA
|
|
4329
|
+
onSocketConnect R9KT9uXB6bkApnMTAAAB
|
|
4330
|
+
(server): Client connected -> console does not work. use log function. socket.id: R9KT9uXB6bkApnMTAAAB
|
|
4331
|
+
Client log (client) t+ 76385ms Disconnected
|
|
4332
|
+
Client log (client) t+ 77366ms Client connect.
|
|
4333
|
+
schemaChanged must syncHandler.destroySyncs()
|
|
4334
|
+
Client log (client) t+ 77479ms Reconnected
|
|
4335
|
+
upsertData (from client): inserted( 0 ) updated( 9 ) total( 10 )
|
|
4336
|
+
last insert undefined
|
|
4337
|
+
last update {"id":999008,"x":10,"y":999999,"flight_number":null,"last_updated":1790879120703}
|
|
4338
|
+
Client log (client) t+ 77507ms TEST_NAME: main Started
|
|
4339
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 50 )
|
|
4340
|
+
last insert undefined
|
|
4341
|
+
last update undefined
|
|
4342
|
+
upsertData (from client): inserted( 0 ) updated( 0 ) total( 1 )
|
|
4343
|
+
last insert undefined
|
|
4344
|
+
last update undefined
|
|
4345
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 153 ) total( 203 ) undefined
|
|
4346
|
+
Client log (client) t+ 77524ms 1790879121853: sync stats: x10 -> 10 x20 -> 100
|
|
4347
|
+
Client log (client) t+ 77524ms 1790879121853: sync end: Finished replication test. Inserting 100 rows then updating two times took: 8761ms
|
|
4348
|
+
server.syncBatch planes: inserted( 0 ) updated( 0 ) deleted( 0 ) pushed to client( 53 ) total( 54 ) undefined
|
|
4349
|
+
✔ concurrent useSync hooks receive inserts after reattachment and reconnect (1524.061395ms)
|
|
4350
|
+
✔ React hooks (6207.436193ms)
|
|
4351
|
+
Client log (client) t+ 77534ms TEST_NAME: main Finished OK
|
|
4352
|
+
Client test successful
|
|
4353
|
+
(server): Stopping server ...
|
|
4354
|
+
ℹ tests 122
|
|
4355
|
+
ℹ suites 4
|
|
4356
|
+
ℹ pass 121
|
|
4357
|
+
ℹ fail 0
|
|
4358
|
+
ℹ cancelled 0
|
|
4359
|
+
ℹ skipped 1
|
|
4360
|
+
ℹ todo 0
|
|
4361
|
+
ℹ duration_ms 85557.859853
|
|
4362
|
+
|
|
4363
|
+
> server_tests@1.0.0 test-client
|
|
4364
|
+
> TEST_TYPE=client node --trace-uncaught --test dist/server/index.js
|
|
4365
|
+
|
|
4366
|
+
Created PubSubManager
|
|
4367
|
+
watchSchema: Full re-initialisation { query: 'Only shown in debug mode' }
|
|
4368
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
4369
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4370
|
+
|
|
4371
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
4372
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
4373
|
+
id TEXT PRIMARY KEY
|
|
4374
|
+
, "description" TEXT
|
|
4375
|
+
);
|
|
4376
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4377
|
+
|
|
4378
|
+
CREATE TABLE "files" (
|
|
4379
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4380
|
+
"storage_key" UUID UNIQUE ,
|
|
4381
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4382
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4383
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4384
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4385
|
+
"original_name" TEXT NOT NULL ,
|
|
4386
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4387
|
+
"description" TEXT ,
|
|
4388
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4389
|
+
"cloud_url" TEXT ,
|
|
4390
|
+
"signed_url" TEXT ,
|
|
4391
|
+
"signed_url_expires" BIGINT ,
|
|
4392
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4393
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4394
|
+
"deleted" TIMESTAMPTZ ,
|
|
4395
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4396
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
4397
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
4398
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
4399
|
+
);
|
|
4400
|
+
CREATE TABLE "files_versions" (
|
|
4401
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4402
|
+
"storage_key" UUID NOT NULL ,
|
|
4403
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4404
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4405
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4406
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4407
|
+
"original_name" TEXT NOT NULL ,
|
|
4408
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4409
|
+
"description" TEXT ,
|
|
4410
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4411
|
+
"cloud_url" TEXT ,
|
|
4412
|
+
"signed_url" TEXT ,
|
|
4413
|
+
"signed_url_expires" BIGINT ,
|
|
4414
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4415
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4416
|
+
"deleted" TIMESTAMPTZ ,
|
|
4417
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4418
|
+
"file_id" UUID NOT NULL ,
|
|
4419
|
+
"version" INTEGER NOT NULL ,
|
|
4420
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4421
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
4422
|
+
);
|
|
4423
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
4424
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
4425
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
4426
|
+
CREATE TABLE "users_public_info" (
|
|
4427
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4428
|
+
"name" TEXT ,
|
|
4429
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
4430
|
+
"sid" TEXT
|
|
4431
|
+
);
|
|
4432
|
+
DROP TABLE IF EXISTS "users";
|
|
4433
|
+
CREATE TABLE "users" (
|
|
4434
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4435
|
+
"email" TEXT NOT NULL ,
|
|
4436
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
4437
|
+
"type" TEXT NOT NULL ,
|
|
4438
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
4439
|
+
);
|
|
4440
|
+
DROP TABLE IF EXISTS "tjson";
|
|
4441
|
+
CREATE TABLE "tjson" (
|
|
4442
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
4443
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
4444
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
4445
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
4446
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
4447
|
+
);
|
|
4448
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4449
|
+
|
|
4450
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
4451
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
4452
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
4453
|
+
DROP TABLE IF EXISTS "api_table";
|
|
4454
|
+
CREATE TABLE "api_table" (
|
|
4455
|
+
"id" SERIAL PRIMARY KEY
|
|
4456
|
+
);
|
|
4457
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
4458
|
+
watchSchema: Full re-initialisation { query: 'Only shown in debug mode' }
|
|
4459
|
+
(server): prostgles onReady
|
|
4460
|
+
(server): Waiting for client...
|
|
4461
|
+
(client) t+ 0ms Started client...
|
|
4462
|
+
onSocketConnect 5GKDXJheBOsBlaI9AAAA
|
|
4463
|
+
(server): Client connected -> console does not work. use log function. socket.id: 5GKDXJheBOsBlaI9AAAA
|
|
4464
|
+
(client) t+ 74ms Client connect.
|
|
4465
|
+
(client) t+ 183ms TEST_NAME: useProstgles Started
|
|
4466
|
+
onSocketConnect QtnqpB8PhLJUWooDAAAB
|
|
4467
|
+
(server): Client connected -> console does not work. use log function. socket.id: QtnqpB8PhLJUWooDAAAB
|
|
4468
|
+
▶ useProstgles hook
|
|
4469
|
+
✔ useProstglesClient (506.524311ms)
|
|
4470
|
+
watchSchema: Full re-initialisation { query: 'Only shown in debug mode' }
|
|
4471
|
+
(server): Client disconnected. socket.id: QtnqpB8PhLJUWooDAAAB
|
|
4472
|
+
schemaChanged must syncHandler.destroySyncs()
|
|
4473
|
+
✔ useProstglesClient with schema reload (2542.936808ms)
|
|
4474
|
+
onSocketConnect iOkPcsO7OglfwqFdAAAD
|
|
4475
|
+
(server): Client connected -> console does not work. use log function. socket.id: iOkPcsO7OglfwqFdAAAD
|
|
4476
|
+
(server): Client disconnected. socket.id: iOkPcsO7OglfwqFdAAAD
|
|
4477
|
+
✔ useProstglesClient with initial skip (770.139203ms)
|
|
4478
|
+
Client log (client) t+ 7041ms TEST_NAME: useProstgles Finished OK
|
|
4479
|
+
✔ useProstgles hook (3821.921384ms)
|
|
4480
|
+
Client test successful
|
|
4481
|
+
(server): Stopping server ...
|
|
4482
|
+
ℹ tests 3
|
|
4483
|
+
ℹ suites 1
|
|
4484
|
+
ℹ pass 3
|
|
4485
|
+
ℹ fail 0
|
|
4486
|
+
ℹ cancelled 0
|
|
4487
|
+
ℹ skipped 0
|
|
4488
|
+
ℹ todo 0
|
|
4489
|
+
ℹ duration_ms 16357.766596
|
|
4490
|
+
|
|
4491
|
+
> server_tests@1.0.0 test-client
|
|
4492
|
+
> TEST_TYPE=client node --trace-uncaught --test dist/server/index.js
|
|
4493
|
+
|
|
4494
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
4495
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4496
|
+
|
|
4497
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
4498
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
4499
|
+
id TEXT PRIMARY KEY
|
|
4500
|
+
, "description" TEXT
|
|
4501
|
+
);
|
|
4502
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('a','desc') ON CONFLICT DO NOTHING;
|
|
4503
|
+
INSERT INTO "lookup_col1" ("id", "description") VALUES ('b',null) ON CONFLICT DO NOTHING;
|
|
4504
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4505
|
+
|
|
4506
|
+
CREATE TABLE "files" (
|
|
4507
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4508
|
+
"storage_key" UUID UNIQUE ,
|
|
4509
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4510
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4511
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4512
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4513
|
+
"original_name" TEXT NOT NULL ,
|
|
4514
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4515
|
+
"description" TEXT ,
|
|
4516
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4517
|
+
"cloud_url" TEXT ,
|
|
4518
|
+
"signed_url" TEXT ,
|
|
4519
|
+
"signed_url_expires" BIGINT ,
|
|
4520
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4521
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4522
|
+
"deleted" TIMESTAMPTZ ,
|
|
4523
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4524
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
4525
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
4526
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
4527
|
+
);
|
|
4528
|
+
CREATE TABLE "files_versions" (
|
|
4529
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4530
|
+
"storage_key" UUID NOT NULL ,
|
|
4531
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4532
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4533
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4534
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4535
|
+
"original_name" TEXT NOT NULL ,
|
|
4536
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4537
|
+
"description" TEXT ,
|
|
4538
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4539
|
+
"cloud_url" TEXT ,
|
|
4540
|
+
"signed_url" TEXT ,
|
|
4541
|
+
"signed_url_expires" BIGINT ,
|
|
4542
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4543
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4544
|
+
"deleted" TIMESTAMPTZ ,
|
|
4545
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4546
|
+
"file_id" UUID NOT NULL ,
|
|
4547
|
+
"version" INTEGER NOT NULL ,
|
|
4548
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4549
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
4550
|
+
);
|
|
4551
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
4552
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
4553
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
4554
|
+
CREATE TABLE "users_public_info" (
|
|
4555
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4556
|
+
"name" TEXT ,
|
|
4557
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
4558
|
+
"sid" TEXT
|
|
4559
|
+
);
|
|
4560
|
+
DROP TABLE IF EXISTS "users";
|
|
4561
|
+
CREATE TABLE "users" (
|
|
4562
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4563
|
+
"email" TEXT NOT NULL ,
|
|
4564
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
4565
|
+
"type" TEXT NOT NULL ,
|
|
4566
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
4567
|
+
);
|
|
4568
|
+
DROP TABLE IF EXISTS "tjson";
|
|
4569
|
+
CREATE TABLE "tjson" (
|
|
4570
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
4571
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
4572
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
4573
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
4574
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
4575
|
+
);
|
|
4576
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4577
|
+
|
|
4578
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
4579
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
4580
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
4581
|
+
DROP TABLE IF EXISTS "api_table";
|
|
4582
|
+
CREATE TABLE "api_table" (
|
|
4583
|
+
"id" SERIAL PRIMARY KEY
|
|
4584
|
+
);
|
|
4585
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
4586
|
+
Prostgles: Created typescript schema definition file:
|
|
4587
|
+
DBGeneratedSchema.ts
|
|
4588
|
+
(server): prostgles onReady
|
|
4589
|
+
(server): Waiting for client...
|
|
4590
|
+
(client) t+ 0ms Started client...
|
|
4591
|
+
onSocketConnect jMNLSdDsxAHVZI5uAAAA
|
|
4592
|
+
(server): Client connected -> console does not work. use log function. socket.id: jMNLSdDsxAHVZI5uAAAA
|
|
4593
|
+
(client) t+ 33ms Client connect.
|
|
4594
|
+
(client) t+ 79ms TEST_NAME: files Started
|
|
4595
|
+
▶ clientFileTests
|
|
4596
|
+
✔ Files table is present (9.387276ms)
|
|
4597
|
+
✔ Insert file from nested insert (50.62967ms)
|
|
4598
|
+
✔ Cannot Insert file directly (9.498153ms)
|
|
4599
|
+
✔ Disallowed updates cannot change stored bytes or create nested uploads (25.72316ms)
|
|
4600
|
+
✔ Duplicate file IDs and failed validation preserve the original object (41.338315ms)
|
|
4601
|
+
✔ Can update allowed files directly (71.370757ms)
|
|
4602
|
+
✔ Can insert allowed files through a nested update (34.94396ms)
|
|
4603
|
+
Client log (client) t+ 395ms TEST_NAME: files Finished OK
|
|
4604
|
+
✔ Can delete only allowed files directly (14.044709ms)
|
|
4605
|
+
✔ clientFileTests (259.339893ms)
|
|
4606
|
+
Client test successful
|
|
4607
|
+
(server): Stopping server ...
|
|
4608
|
+
ℹ tests 8
|
|
4609
|
+
ℹ suites 1
|
|
4610
|
+
ℹ pass 8
|
|
4611
|
+
ℹ fail 0
|
|
4612
|
+
ℹ cancelled 0
|
|
4613
|
+
ℹ skipped 0
|
|
4614
|
+
ℹ todo 0
|
|
4615
|
+
ℹ duration_ms 8808.509662
|
|
4616
|
+
|
|
4617
|
+
> server_tests@1.0.0 test-client
|
|
4618
|
+
> TEST_TYPE=client node --trace-uncaught --test dist/server/index.js
|
|
4619
|
+
|
|
4620
|
+
Prostgles: SQL file executed successfuly /home/s/prostgles-server-js/tests/server/init.sql
|
|
4621
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4622
|
+
|
|
4623
|
+
DROP TABLE IF EXISTS "lookup_col1" CASCADE;
|
|
4624
|
+
CREATE TABLE IF NOT EXISTS "lookup_col1" (
|
|
4625
|
+
id TEXT PRIMARY KEY
|
|
4626
|
+
, "description" TEXT
|
|
4627
|
+
);
|
|
4628
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4629
|
+
|
|
4630
|
+
CREATE TABLE "files" (
|
|
4631
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4632
|
+
"storage_key" UUID UNIQUE ,
|
|
4633
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4634
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4635
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4636
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4637
|
+
"original_name" TEXT NOT NULL ,
|
|
4638
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4639
|
+
"description" TEXT ,
|
|
4640
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4641
|
+
"cloud_url" TEXT ,
|
|
4642
|
+
"signed_url" TEXT ,
|
|
4643
|
+
"signed_url_expires" BIGINT ,
|
|
4644
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4645
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4646
|
+
"deleted" TIMESTAMPTZ ,
|
|
4647
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4648
|
+
"data" BYTEA NOT NULL CHECK (data = decode('01', 'hex')) ,
|
|
4649
|
+
"version" INTEGER NOT NULL DEFAULT 1 ,
|
|
4650
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files","column":"metadata"}' ))
|
|
4651
|
+
);
|
|
4652
|
+
CREATE TABLE "files_versions" (
|
|
4653
|
+
"id" UUID PRIMARY KEY DEFAULT gen_random_uuid() ,
|
|
4654
|
+
"storage_key" UUID NOT NULL ,
|
|
4655
|
+
"extension" TEXT NOT NULL DEFAULT '' ,
|
|
4656
|
+
"content_type" TEXT NOT NULL DEFAULT '' ,
|
|
4657
|
+
"content_length" BIGINT NOT NULL DEFAULT 0 ,
|
|
4658
|
+
"etag" TEXT NOT NULL DEFAULT '' ,
|
|
4659
|
+
"original_name" TEXT NOT NULL ,
|
|
4660
|
+
"original_last_modified" TIMESTAMPTZ ,
|
|
4661
|
+
"description" TEXT ,
|
|
4662
|
+
"url" TEXT NOT NULL DEFAULT '' ,
|
|
4663
|
+
"cloud_url" TEXT ,
|
|
4664
|
+
"signed_url" TEXT ,
|
|
4665
|
+
"signed_url_expires" BIGINT ,
|
|
4666
|
+
"added" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4667
|
+
"updated" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4668
|
+
"deleted" TIMESTAMPTZ ,
|
|
4669
|
+
"deleted_from_storage" TIMESTAMPTZ ,
|
|
4670
|
+
"file_id" UUID NOT NULL ,
|
|
4671
|
+
"version" INTEGER NOT NULL ,
|
|
4672
|
+
"created" TIMESTAMP NOT NULL DEFAULT NOW() ,
|
|
4673
|
+
"metadata" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"description":{"type":"string"}}}'::TEXT, "metadata", '{"table":"files_versions","column":"metadata"}' ))
|
|
4674
|
+
);
|
|
4675
|
+
ALTER TABLE "files_versions" ADD CONSTRAINT "prostgles_file_version_e24fec525e76b3433749621f589d35d9" FOREIGN KEY (file_id) REFERENCES "files"(id) ON DELETE CASCADE;
|
|
4676
|
+
CREATE UNIQUE INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" ON "files_versions" (file_id, version);
|
|
4677
|
+
COMMENT ON INDEX "prostgles_file_version_9692aae50022f45f1098646939b287b1_key" IS 'd4af15d064cae99adac0c1194199a9e3';
|
|
4678
|
+
CREATE TABLE "users_public_info" (
|
|
4679
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4680
|
+
"name" TEXT ,
|
|
4681
|
+
"avatar" UUID REFERENCES files ON DELETE CASCADE ,
|
|
4682
|
+
"sid" TEXT
|
|
4683
|
+
);
|
|
4684
|
+
DROP TABLE IF EXISTS "users";
|
|
4685
|
+
CREATE TABLE "users" (
|
|
4686
|
+
"id" SERIAL PRIMARY KEY ,
|
|
4687
|
+
"email" TEXT NOT NULL ,
|
|
4688
|
+
"status" TEXT NOT NULL CHECK("status" = 'active' OR "status" = 'disabled' OR "status" = 'pending'),
|
|
4689
|
+
"type" TEXT NOT NULL ,
|
|
4690
|
+
"preferences" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"showIntro":{"type":"boolean","optional":true},"theme":{"enum":["light","dark","auto"],"optional":true},"others":{"type":"any[]"}}}'::TEXT, "preferences", '{"table":"users","column":"preferences"}' ))
|
|
4691
|
+
);
|
|
4692
|
+
DROP TABLE IF EXISTS "tjson";
|
|
4693
|
+
CREATE TABLE "tjson" (
|
|
4694
|
+
"json" JSONB NOT NULL CHECK(prostgles.validate_jsonb_schema('{"type":{"a":{"type":"boolean"},"arr":{"enum":["1","2","3"]},"arr1":{"enum":[1,2,3]},"arr2":{"type":"integer[]"},"arrStr":{"type":"string[]","optional":true,"nullable":true},"o":{"optional":true,"nullable":true,"oneOfType":[{"o1":"integer"},{"o2":"boolean"}]}}}'::TEXT, "json", '{"table":"tjson","column":"json"}' )),
|
|
4695
|
+
"colOneOf" TEXT NOT NULL CHECK("colOneOf" = 'a' OR "colOneOf" = 'b' OR "colOneOf" = 'c'),
|
|
4696
|
+
"status" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"ok":{"type":"string"}},{"err":{"type":"string"}},{"loading":{"type":{"loaded":{"type":"number"},"total":{"type":"number"}}}}]}'::TEXT, "status", '{"table":"tjson","column":"status"}' )),
|
|
4697
|
+
"jsonOneOf" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"oneOfType":[{"command":{"enum":["a"]}},{"command":{"enum":["b"]},"option":{"type":"integer[]"}}]}'::TEXT, "jsonOneOf", '{"table":"tjson","column":"jsonOneOf"}' )),
|
|
4698
|
+
"table_config" JSONB CHECK(prostgles.validate_jsonb_schema('{"nullable":true,"type":{"referencedTables":{"optional":true,"arrayOfType":{"name":"string","minFiles":"number"}},"recType":{"nullable":true,"optional":true,"record":{"keysEnum":["a","b"],"values":{"type":{"bools":"boolean[]"}}}}}}'::TEXT, "table_config", '{"table":"tjson","column":"table_config"}' ))
|
|
4699
|
+
);
|
|
4700
|
+
Running queries: /* prostgles internal query that should be excluded from schema watch */
|
|
4701
|
+
|
|
4702
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col1) REFERENCES lookup_col1(id);
|
|
4703
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col2) REFERENCES lookup_col1(id);
|
|
4704
|
+
ALTER TABLE "uuid_text" ADD FOREIGN KEY (col3) REFERENCES lookup_col1(id);
|
|
4705
|
+
DROP TABLE IF EXISTS "api_table";
|
|
4706
|
+
CREATE TABLE "api_table" (
|
|
4707
|
+
"id" SERIAL PRIMARY KEY
|
|
4708
|
+
);
|
|
4709
|
+
Prostgles: Initiated file manager. Max allowed file size: 1MB (maxHttpBufferSize = 1e6). To increase this set maxHttpBufferSize in socket.io server init options
|
|
4710
|
+
(server): prostgles onReady
|
|
4711
|
+
(server): Waiting for client...
|
|
4712
|
+
(client) t+ 0ms Started client...
|
|
4713
|
+
onSocketConnect VMp_4ZEdu72N6h6tAAAA
|
|
4714
|
+
(server): Client connected -> console does not work. use log function. socket.id: VMp_4ZEdu72N6h6tAAAA
|
|
4715
|
+
(client) t+ 36ms Client connect.
|
|
4716
|
+
(client) t+ 46ms TEST_NAME: rest_api Started
|
|
4717
|
+
▶ clientRestApi
|
|
4718
|
+
✔ Rest api test (127.262411ms)
|
|
4719
|
+
✔ Rest api security (37.636135ms)
|
|
4720
|
+
Client log (client) t+ 216ms TEST_NAME: rest_api Finished OK
|
|
4721
|
+
✔ clientRestApi (166.019234ms)
|
|
4722
|
+
Client test successful
|
|
4723
|
+
(server): Stopping server ...
|
|
4724
|
+
ℹ tests 2
|
|
4725
|
+
ℹ suites 1
|
|
4726
|
+
ℹ pass 2
|
|
4727
|
+
ℹ fail 0
|
|
4728
|
+
ℹ cancelled 0
|
|
4729
|
+
ℹ skipped 0
|
|
4730
|
+
ℹ todo 0
|
|
4731
|
+
ℹ duration_ms 8615.179905
|