postgres
postgres copied to clipboard
Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare
Thanks for the library! Had an issue with what probably is an edge-case, using unix sockets on windows. UNIX sockets are supported by postgresql on windows (I can start and...
can't connect to supabase using env var `DATABASE_URL="postgresql://postgres:[PASSWORD]@db.[REFERENCE-ID].supabase.co:5432/postgres"`. It fails if the password contains `%`, `#` and other special characters. Therefore the range of passwords is reduced to `a-zA-Z0-9`. What...
Hello, I am trying to implement query fragments as described in your dynamic query section. I have the following: ``` const results = await sql` SELECT * FROM schema.table WHERE...
### description Hello! For some reason. I need to use `.` in my column name, but I found a problem. This is my code: ```ts import postgres from 'postgres' const...
- Tested node versions: v16.19.0, v20.9.0 - Tested postgres.js versions: 3.0.6, 3.4.3 - Tested postgres version: 14 Hi, with the following conditions: 1. the max number of connections is set...
If listening for multiple channels, it is wasteful to use a separate connection for each one. I understand this is related to the choice to reuse listeners for a single...
Custom type conversion does not seem to work with Domain. I want to create a custom id field based on int4, but that id field is to be represented as...
`sql` client instances handle ECONNREFUSED errors inconsistently. This error is thrown when the database is unreachable. In the steps below, I am in control of the postgres process. I would...
Hello. Forgive my naivety please. I have been trying to figure out the API for the dynamic query for several hours. In your docs you have the following example: ```js...
add support for ipv6 postgres://user:password@[2a02:c206:2140:481::1]:1234/apg-o