logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Help with hang on empty query (PG 7.3.2,: msg#00067

Subject: Re: Help with hang on empty query (PG 7.3.2,
Steve Wampler wrote:
> 
> On Sat, 2003-11-08 at 16:33, Hiroshi Inoue wrote:
> > > -----Original Message-----
> > > From: Steve Wampler
> > >
> > > On Fri, 2003-11-07 at 09:05, Steve Wampler wrote:
> > > > I recently upgraded a system from RedHat 8 to RedHat 9, which
> > > > meant an upgrade of PG 7.2 to 7.3.2.  Several applications
> > > > that are written in a language that relies upon odbc to access
> > > > postgresql have stopped working.
> > >
> > > I've now verified that the same hang occurs when using the
> > > odbctest program that comes with libiodbc.
> > >
> > > Can anyone suggest a way to track this down further?  Thanks!
> >
> > Could you try to remove ENTER_CONN_CS in CC_send_query
> > in connection.c and change all RETURN_AFTER_LEAVE_CS(self, ..)
> > to "return ..(the 2nd parameter) "?
> 
> Hi Hiroshi,
> 
> Thanks for the suggestion.  I get the same behavior, but
> the mylog file has more information in it (the other logs
> are unchanged):

OK I can reproduce the phenomenon here.
Please try the attached patch.

regards,
Hiroshi Inoue
        http://www.geocities.jp/inocchichichi/psqlodbc/

Attachment: thread.diff
Description: application/unknown-content-type-hidemaru.diff

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>