[Bug 1220677] Re: pg_send_query(): Cannot set connection to blocking mode

Robie Basak 1220677 at bugs.launchpad.net
Wed Sep 11 11:13:31 UTC 2013


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

It looks like the current development version already has this issue
fixed, so I'm marking this bug as Fix Released. I verified this by
manually checking the ext/pgsql/pgsql.c file in the source against the
patch provided.

It looks like upstream have not backported this fix into their 5.3
branch. But the patch seems trivial enough that we could backport it
easily enough in order to fix 12.04, if we were to choose to do this.

So if you need a fix for an existing stable release, please comment with
a justification against
https://wiki.ubuntu.com/StableReleaseUpdates#When and complete steps 1
through 4 in https://wiki.ubuntu.com/StableReleaseUpdates#Procedure -
and go ahead with all the steps if you can. Note that that SRU team
would need to make a final decision.

I have one concern about any possible backport. The patch does not test
the connection to make sure that it is non-blocking. Will calling
PQflush on a blocking connection cause any issues here? Or is the
connection only ever going to be non-blocking due to the way the
existing code works?

** Changed in: php5 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1220677

Title:
  pg_send_query(): Cannot set connection to blocking mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1220677/+subscriptions



More information about the Ubuntu-server-bugs mailing list