Re: Unable to connect to the database: TypeError: net.Socket is not a constructor

2020-04-20 Thread Tim Cross
Marco Ippolito writes: > I'm trying to connect to a postgres database (Postgresql-11) within my > nodejs-vue.js app, but in console I'm getting this error: > > [HMR] Waiting for update signal from WDS... > pg.js?c8c2:27 Unable to connect to the database: TypeError: net.Socket > is not a

Re: Unable to connect to the database: TypeError: net.Socket is not a constructor

2020-04-20 Thread Adrian Klaver
On 4/20/20 11:29 AM, Marco Ippolito wrote: Il giorno lun 20 apr 2020 alle ore 20:11 Adrian Klaver mailto:adrian.kla...@aklaver.com>> ha scritto: On 4/20/20 10:50 AM, Marco Ippolito wrote: > I'm trying to connect to a postgres database (Postgresql-11) within my > nodejs-vue.

Re: Unable to connect to the database: TypeError: net.Socket is not a constructor

2020-04-20 Thread Marco Ippolito
Il giorno lun 20 apr 2020 alle ore 20:11 Adrian Klaver < adrian.kla...@aklaver.com> ha scritto: > On 4/20/20 10:50 AM, Marco Ippolito wrote: > > I'm trying to connect to a postgres database (Postgresql-11) within my > > nodejs-vue.js app, but in console I'm getting this error: > > > > [HMR] W

Re: Unable to connect to the database: TypeError: net.Socket is not a constructor

2020-04-20 Thread Adrian Klaver
On 4/20/20 10:50 AM, Marco Ippolito wrote: I'm trying to connect to a postgres database (Postgresql-11) within my nodejs-vue.js app, but in console I'm getting this error:     [HMR] Waiting for update signal from WDS...     pg.js?c8c2:27 Unable to connect to the database: TypeError: net.Sock

Unable to connect to the database: TypeError: net.Socket is not a constructor

2020-04-20 Thread Marco Ippolito
I'm trying to connect to a postgres database (Postgresql-11) within my nodejs-vue.js app, but in console I'm getting this error: [HMR] Waiting for update signal from WDS... pg.js?c8c2:27 Unable to connect to the database: TypeError: net.Socket is not a constructor at new Connection

Usage reporting of Cloud provided PostgreSQL service

2020-04-20 Thread Saurav Sarkar
Hi All, I would like to know what are the best practices in terms of usage reporting of databases size in cloud setup. One specific question related to the consideration of indexes If i am providing PostgreSQL as a service in a cloud platform , should i consider index size also in the consumptio