mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Use PQExpBuffer for error message in fe-auth.c.
In passing, change functions that passedin both PGconn and parts of it to just pass in the PGconn.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.17 2007/01/05 22:20:01 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/pqexpbuffer.h,v 1.18 2007/07/23 17:52:06 mha Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -49,7 +49,7 @@ typedef PQExpBufferData *PQExpBuffer;
|
||||
/*------------------------
|
||||
* Initial size of the data buffer in a PQExpBuffer.
|
||||
* NB: this must be large enough to hold error messages that might
|
||||
* be returned by PQrequestCancel() or any routine in fe-auth.c.
|
||||
* be returned by PQrequestCancel().
|
||||
*------------------------
|
||||
*/
|
||||
#define INITIAL_EXPBUFFER_SIZE 256
|
||||
|
Reference in New Issue
Block a user