-
- Downloads
Add support for multiple error messages from libpq, by simply appending them
after each other (since we already add a newline on each, this makes them multiline). Previously a new error would just overwrite the old one, so for example any error caused when trying to connect with SSL enabled would be overwritten by the error message form the non-SSL connection when using sslmode=prefer.
Showing
- doc/src/sgml/libpq.sgml 6 additions, 5 deletionsdoc/src/sgml/libpq.sgml
- src/interfaces/libpq/fe-connect.c 26 additions, 23 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/fe-misc.c 19 additions, 5 deletionssrc/interfaces/libpq/fe-misc.c
- src/interfaces/libpq/fe-protocol3.c 1 addition, 2 deletionssrc/interfaces/libpq/fe-protocol3.c
- src/interfaces/libpq/libpq-int.h 2 additions, 1 deletionsrc/interfaces/libpq/libpq-int.h
Loading
Please register or sign in to comment