pgwire icon indicating copy to clipboard operation
pgwire copied to clipboard

PostgreSQL client library for Deno and Node.js that exposes all features of wire protocol.

Results 8 pgwire issues
Sort by recently updated
recently updated
newest added

.endLsn of PrimaryKeepaliveMessage is greater than XLogData messages lsn. This causes replication slot moved to position before XLogData messages actually consumed https://github.com/kagis/pgwire/blob/12826adc830fbb2a501d8b605d5d249441aab90d/mod.js#L1611

```sql select to_json(int8(9007199254740991 + 1)) ``` JSON.parse parses all numbers as 53bit integers . When number is too big then JSON.parse silently loose precision what is not safe. Need to...

- [x] array text - [x] array bin - [ ] range text - [ ] range bin

enhancement

Implements lazy decoding by using getters instead of defining concrete values It is kind of a breaking change since it changes what the object contains from value to getter Closes...

Currently, one has to await on pgwire.connect() (because it returns a Promise). This makes it impossible to be called in e.g. constructor of some other class, so I have to...

Currently, pgwire.pool() method doesn't require awaiting (i.e. it returns a non-Promise), and this is great, because I can call it in e.g. objects' constructors. Also, there is Pool.logicalReplication() method which...

implement connection pooling for pool.session accessor. Currently it creates new connection per call