orez 0.4.53 → 0.4.55
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/dist/cf-do/worker.d.ts +1 -0
- package/dist/cf-do/worker.d.ts.map +1 -1
- package/dist/cf-do/worker.js +31 -21
- package/dist/cf-do/worker.js.map +1 -1
- package/dist/do-sql-tracking.d.ts +22 -0
- package/dist/do-sql-tracking.d.ts.map +1 -1
- package/dist/do-sql-tracking.js +101 -16
- package/dist/do-sql-tracking.js.map +1 -1
- package/dist/pg-proxy-do-backend.d.ts.map +1 -1
- package/dist/pg-proxy-do-backend.js +6 -1
- package/dist/pg-proxy-do-backend.js.map +1 -1
- package/package.json +2 -2
|
@@ -6428,7 +6428,12 @@ export class DoBackend {
|
|
|
6428
6428
|
});
|
|
6429
6429
|
}
|
|
6430
6430
|
async publicationTableInfos(publications) {
|
|
6431
|
-
|
|
6431
|
+
// Schema migration can run through a second DoBackend instance after this
|
|
6432
|
+
// one has already cached an empty physical catalog. Do not let that
|
|
6433
|
+
// pre-provisioning observation make information_schema.columns report an
|
|
6434
|
+
// empty database forever; empty catalogs are cheap to re-check and become
|
|
6435
|
+
// stable as soon as the first table appears.
|
|
6436
|
+
if (!this.publicationTableInfoCache?.length) {
|
|
6432
6437
|
this.publicationTableInfoCache = await this.loadPublicationTableInfos();
|
|
6433
6438
|
}
|
|
6434
6439
|
const requested = publications?.filter((name) => this.publications.has(name)) ?? [];
|