-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Hi
What happens when I submit two sequential queries:
client.query("SELECT ...", function() {} )
client.query("SELECT ...", function() {} )
I understand there is a queue and second query will execute only after first is complete. But what does it mean "complete" - will pg send the second query to the server only after all results from the first query came back? Is it the driver behavior or does postgres mandate that only one query should be sent to the server by the client at a given moment?
Thanks,
Yaron
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels