Re: Query hangs (and then timeout) after using COPY to import data - Mailing list pgsql-general

From Tom Lane
Subject Re: Query hangs (and then timeout) after using COPY to import data
Date
Msg-id 2077733.1707695038@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query hangs (and then timeout) after using COPY to import data  (Ron Johnson <ronljohnsonjr@gmail.com>)
List pgsql-general
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> Since the query works in PgAdmin, but not in npgsql, the problem has to be
> somewhere in Npgsql.

I'm wondering if npgsql is executing the query as a cursor and that
is causing the planner to make a poor choice of plan.  There is a
bias towards fast-start plans if you use a cursor, and that doesn't
always work well :-(

            regards, tom lane



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Query hangs (and then timeout) after using COPY to import data
Next
From: veem v
Date:
Subject: Re: How to do faster DML