Comments (4)
When I run the code, I get a parser error.
What is the parser error?
from node-postgres.
These are the two errors I got:
from node-postgres.
Those aren’t parser errors. The important part is “terminating connection due to administrator command”, which is an error sent by the PostgreSQL server that pg is exposing to you. I don’t know why you would get that when running a particular query, but it’s almost certainly not related to pg (coincidental timing? maybe a bad bouncer or WAF1 – are you connecting directly to a vanilla PostgreSQL server?); try running the same query with a connection established the same way by a different client (e.g. psql
), and you’ll probably get the same error. (Or try running it with pg again if you didn’t make sure you could reproduce it the first time around.)
Footnotes
-
web application firewall ↩
from node-postgres.
Thank you for the help. I will try a different client and see if it gives me a different result
from node-postgres.
Related Issues (20)
- [Question] How to print parameterize query? HOT 1
- error: relation "users" does not exist HOT 5
- [question] How to prevent database disconnects from crashing Node.js? HOT 1
- Timezone not set on pool event 'connect' HOT 2
- Fails creating pg client on FIPS environment HOT 1
- Unexpected NULL timestamp during some queries HOT 3
- Type of result.rows is any[][] instead of any[] ? HOT 1
- GSS authorization to connect to the database.
- [question] would a PR that adds JSDOC be welcome?
- Pg is ignoring the time zone ( 'Asia/Kolkata' ) that I provided and is returning time into UTC format. I tried converting the time back to my local time but it is not returnng as expected HOT 2
- pg-connection-string: Shouldn't idleTimeoutMillis be considered? For pool usage patterns?
- Clarification: Does pool.end() close clients created with pool.connect() HOT 1
- PG COPY via PG pool
- Readable never recieving 'end' event on COPY stream
- How to avoid statement preparation with `pg-cursor` HOT 1
- Record not able to insert properly using pool.query HOT 5
- Calling `.end` on a client (or pool) does not wait for connections to close HOT 3
- Why are "date" fields forced to Date objects? HOT 4
- Security Concern: Use of Weak Hashing Algorithm in pg/lib/crypto/utils-webcrypto.js HOT 2
- Use array constructor syntax for array serialization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-postgres.