File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- /* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.17 2003/02/13 13:11:52 meskes Exp $ */
1+ /* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.18 2003/02/13 18: 13:22 tgl Exp $ */
22
33#include "postgres_fe.h"
44
1212
1313/* This should hold the back-end error message from
1414 * the last back-end operation. */
15- char * ECPGerr ;
15+ static char * ECPGerr ;
16+
1617
1718void
1819ECPGraise (int line , int code , const char * str )
Original file line number Diff line number Diff line change 66
77/* Here are some methods used by the lib. */
88
9- /* Stores the backend error message for client access */
9+ /* Store and retrieve the backend error message for client access */
1010void set_backend_err (const char * err , int lineon );
11+ char * ECPGerrmsg (void );
1112
1213/* Returns a pointer to a string containing a simple type name. */
1314void ECPGadd_mem (void * ptr , int lineno );
You can’t perform that action at this time.
0 commit comments