News for hackers. Stuff that matters.
Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by somebee on Thursday March 24, 2022 @05:09PM (#30795371)
What a coincidence seeing this on HN. Great lib! I actually experimented with replacing our use of node-postgres with this today. Your lib was the reason I finally got around to shipping support for tagged template literals in Imba today (https://github.com/imba/imba/commit/ae8c329d1bb72eec6720108d...) :) Are you open for a PR exposing the option to return rows as arrays? It's pretty crucial for queries joining multiple tables with duplicate column names.
Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by porsager on Thursday March 24, 2022 @05:29PM (#30795563)
Thanks a lot! What a coincidence - and perfect timing since v3 supports .raw()[1] to receive results as arrays.

I'd also be very curious to hear how replacing pg goes :)

And also good job on Imba! I'm a really big fan of stripping syntax down to the bare essentials, and what you've done with Imba is really impressive!

[1] https://github.com/porsager/postgres#raw

Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by somebee on Friday March 25, 2022 @08:02AM (#30801072)
Brilliant! We're well on our way to migrating. The experience has been buttery smooth so far. And the codebase itself is really well organized. Huge thumbs up!
Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by porsager on Friday March 25, 2022 @09:14AM (#30801729)
Wow - thats awesome! Thank you!