@postgres-language-server/cli-aarch64-linux-gnu 0.16.1 → 0.17.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postgres-language-server/cli-aarch64-linux-gnu",
3
- "version": "0.16.1",
3
+ "version": "0.17.1",
4
4
  "license": "MIT or Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
Binary file
package/schema.json CHANGED
@@ -125,6 +125,13 @@
125
125
  "format": "uint16",
126
126
  "minimum": 0.0
127
127
  },
128
+ "connectionString": {
129
+ "description": "A connection string that encodes the full connection setup. When provided, it takes precedence over the individual fields.",
130
+ "type": [
131
+ "string",
132
+ "null"
133
+ ]
134
+ },
128
135
  "database": {
129
136
  "description": "The name of the database.",
130
137
  "type": [
@@ -333,7 +340,7 @@
333
340
  ]
334
341
  },
335
342
  "recommended": {
336
- "description": "It enables the lint rules recommended by Postgres Tools. `true` by default.",
343
+ "description": "It enables the lint rules recommended by Postgres Language Server. `true` by default.",
337
344
  "type": [
338
345
  "boolean",
339
346
  "null"
@@ -356,6 +363,17 @@
356
363
  "description": "A list of rules that belong to this group",
357
364
  "type": "object",
358
365
  "properties": {
366
+ "addSerialColumn": {
367
+ "description": "Adding a column with a SERIAL type or GENERATED ALWAYS AS ... STORED causes a full table rewrite.",
368
+ "anyOf": [
369
+ {
370
+ "$ref": "#/definitions/RuleConfiguration"
371
+ },
372
+ {
373
+ "type": "null"
374
+ }
375
+ ]
376
+ },
359
377
  "addingFieldWithDefault": {
360
378
  "description": "Adding a column with a DEFAULT value may lead to a table rewrite while holding an ACCESS EXCLUSIVE lock.",
361
379
  "anyOf": [
@@ -517,6 +535,17 @@
517
535
  }
518
536
  ]
519
537
  },
538
+ "creatingEnum": {
539
+ "description": "Creating enum types is not recommended for new applications.",
540
+ "anyOf": [
541
+ {
542
+ "$ref": "#/definitions/RuleConfiguration"
543
+ },
544
+ {
545
+ "type": "null"
546
+ }
547
+ ]
548
+ },
520
549
  "disallowUniqueConstraint": {
521
550
  "description": "Disallow adding a UNIQUE constraint without using an existing index.",
522
551
  "anyOf": [
@@ -528,6 +557,28 @@
528
557
  }
529
558
  ]
530
559
  },
560
+ "lockTimeoutWarning": {
561
+ "description": "Taking a dangerous lock without setting a lock timeout can cause indefinite blocking.",
562
+ "anyOf": [
563
+ {
564
+ "$ref": "#/definitions/RuleConfiguration"
565
+ },
566
+ {
567
+ "type": "null"
568
+ }
569
+ ]
570
+ },
571
+ "multipleAlterTable": {
572
+ "description": "Multiple ALTER TABLE statements on the same table should be combined into a single statement.",
573
+ "anyOf": [
574
+ {
575
+ "$ref": "#/definitions/RuleConfiguration"
576
+ },
577
+ {
578
+ "type": "null"
579
+ }
580
+ ]
581
+ },
531
582
  "preferBigInt": {
532
583
  "description": "Prefer BIGINT over smaller integer types.",
533
584
  "anyOf": [
@@ -667,6 +718,17 @@
667
718
  }
668
719
  ]
669
720
  },
721
+ "runningStatementWhileHoldingAccessExclusive": {
722
+ "description": "Running additional statements while holding an ACCESS EXCLUSIVE lock blocks all table access.",
723
+ "anyOf": [
724
+ {
725
+ "$ref": "#/definitions/RuleConfiguration"
726
+ },
727
+ {
728
+ "type": "null"
729
+ }
730
+ ]
731
+ },
670
732
  "transactionNesting": {
671
733
  "description": "Detects problematic transaction nesting that could lead to unexpected behavior.",
672
734
  "anyOf": [