Skip to content
#

postgres

postgresql logo

PostgreSQL is a database management system that is object-relational. PostgreSQL originated from the Ingres project at the University of California, Berkeley.

Here are 655 public repositories matching this topic...

postgres
okbrown
okbrown commented Jan 10, 2020

Hi, First and foremost, I think this is a great start at making something really simple and effective. Thank you!!

However... I have always found template strings a little odd especially in this context.
Let us say we have

const query = `SELECT ${distinct}, ${columns} FROM ${table} ${innerJoins} WHERE ${where}`;
(Where distinct, columns, table etc are their own strings made up of other

lorenzofox3
lorenzofox3 commented Dec 11, 2018

Feature request:

Select builders are often used in sub query with aliases.
It would be a nice syntax addition if instead of using an object we could output the builder with a alias directly thanks to an as method

//currently 
sh.select().from({
  as:'foo',
  value:sh.select().from('users').where('age','>',42).noop()
});

could be written:

sh.sele
Bonemind
Bonemind commented Jan 22, 2020

I ran into your lambda today an managed to deploy it. Everything seems to work fine under normal circumstances, but I encounter an error when i try to change the output format (I tried -Fp and --format=plain).
When using the PGDUMP_ARGS to change the output format, I get the following exception:

"Error: pg_dump gave us an unexpected response".
I've looked through the code and this seems t

Created by Michael Stonebraker

Released July 8, 1996

Repository
postgres/postgres
Website
www.postgresql.org
Wikipedia
Wikipedia
You can’t perform that action at this time.