Re: [BUGS] Bug #925: typing error in src/backend/libpq/be-secure.c

2003-03-28 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Actually, the docs say SSL_read/write can error needing READ or WRITE: > http://www.openssl.org/docs/ssl/SSL_read.html# Only when using a non-blocking BIO, which the backend had better not be doing. But a few lines of useless code aren't a big dea

Re: [BUGS] Bug #925: typing error in src/backend/libpq/be-secure.c

2003-03-28 Thread Bruce Momjian
Actually, the docs say SSL_read/write can error needing READ or WRITE: http://www.openssl.org/docs/ssl/SSL_read.html# The SSL_write docs are the same. I have applied the following patch to handle both new cases. Does this help the SSL test program you have? ---

Re: [BUGS] Bug #925: typing error in src/backend/libpq/be-secure.c

2003-03-28 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Yep, typo. Patched to CVS current and backpatched to 7.3.X. I think this fix is exactly backward. Why would SSL_write need to return ERROR_WANT_WRITE? It couldn't. The correct fix is that SSL_write might return ERROR_WANT_READ, for which reading woul

Re: [BUGS] Bug #925: typing error in src/backend/libpq/be-secure.c

2003-03-28 Thread Bruce Momjian
Yep, typo. Patched to CVS current and backpatched to 7.3.X. --- [EMAIL PROTECTED] wrote: > Sergey N. Yatskevich ([EMAIL PROTECTED]) reports a bug with a severity of 4 > The lower the number the more severe it is. > > Short

[BUGS] Bug #925: typing error in src/backend/libpq/be-secure.c ???

2003-03-28 Thread pgsql-bugs
Sergey N. Yatskevich ([EMAIL PROTECTED]) reports a bug with a severity of 4 The lower the number the more severe it is. Short Description typing error in src/backend/libpq/be-secure.c ??? Long Description In src/backend/libpq/be-secure.c: secure_write on SSL_ERROR_WANT_WRITE call secure_read inst

[BUGS] Bug #924: Segmentation fault in libpq/PQconsumeInput on SSL connection

2003-03-28 Thread pgsql-bugs
Sergey N. Yatskevich ([EMAIL PROTECTED]) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description Segmentation fault in libpq/PQconsumeInput on SSL connection Long Description When I start SSL connection and try to handle async query: // run query action

[BUGS] Bug #923: psql can't read file prepaired by pg_dumpall

2003-03-28 Thread pgsql-bugs
Krzysztof Czuma ([EMAIL PROTECTED]) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description psql can't read file prepaired by pg_dumpall Long Description I can't move databases from PostgreSQL 7.0 to PostgreSQL 7.3 When I try to execute: psql -d template

Re: [BUGS] Unable to delete rows...

2003-03-28 Thread A.Bhuvaneswaran
> I'm Using PostgreSQL v. 7.3.2 on FreeBSD 4.7-RELEASE-p7. > > I was unable to delete several rows : > > void=> select * from banners where banner is NULL; > id | count | max | banner_group | banner > +---+---+--+ > 25 | 2328 | 10008 |2 | > 4 |

[BUGS] Unable to delete rows...

2003-03-28 Thread KroK
Hello. I'm Using PostgreSQL v. 7.3.2 on FreeBSD 4.7-RELEASE-p7. I was unable to delete several rows : void=> select * from banners where banner is NULL; id | count | max | banner_group | banner +---+---+--+ 25 | 2328 | 10008 |2 | 4 | 477 | 33