mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Add PQunescapeBytea libpq function.
Everyone using libpq and bytea is probably having to invent this wheel.. Patrick Welche
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
 | 
			
		||||
 * Portions Copyright (c) 1994, Regents of the University of California
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: elog.h,v 1.32 2002/03/04 01:46:04 tgl Exp $
 | 
			
		||||
 * $Id: elog.h,v 1.33 2002/03/04 23:59:14 momjian Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -15,27 +15,28 @@
 | 
			
		||||
#define ELOG_H
 | 
			
		||||
 | 
			
		||||
/* Error level codes */
 | 
			
		||||
#define DEBUG5	10				/* Debugging messages, in categories
 | 
			
		||||
								 * of decreasing detail. */
 | 
			
		||||
#define DEBUG4	11
 | 
			
		||||
#define DEBUG3	12				
 | 
			
		||||
#define DEBUG2	13				
 | 
			
		||||
#define DEBUG1	14				
 | 
			
		||||
#define LOG		15				/* Server operational history messages;
 | 
			
		||||
								 * sent only to server log by default. */
 | 
			
		||||
#define COMMERROR 16			/* Client communication problems; same as
 | 
			
		||||
								 * LOG for server reporting, but never ever
 | 
			
		||||
								 * try to send to client. */
 | 
			
		||||
#define INFO	17				/* Informative messages that are part of
 | 
			
		||||
								 * normal query operation; sent only to
 | 
			
		||||
								 * client by default. */
 | 
			
		||||
#define NOTICE	18				/* Important messages, for unusual cases that
 | 
			
		||||
								 * should be reported but are not serious 
 | 
			
		||||
								 * enough to abort the query.  Sent to client
 | 
			
		||||
								 * and server log by default. */
 | 
			
		||||
#define ERROR	19				/* user error - return to known state */
 | 
			
		||||
#define FATAL	20				/* fatal error - abort process */
 | 
			
		||||
#define PANIC	21				/* take down the other backends with me */
 | 
			
		||||
#define DEBUG5		10		/* Debugging messages, in categories
 | 
			
		||||
							 * of decreasing detail. */
 | 
			
		||||
#define DEBUG4		11
 | 
			
		||||
#define DEBUG3		12				
 | 
			
		||||
#define DEBUG2		13				
 | 
			
		||||
#define DEBUG1		14				
 | 
			
		||||
#define LOG			15		/* Server operational history messages;
 | 
			
		||||
							 * sent only to server log by default. */
 | 
			
		||||
#define COMMERROR 	16		/* Client communication problems; same as
 | 
			
		||||
							 * LOG for server reporting, but never ever
 | 
			
		||||
							 * try to send to client. */
 | 
			
		||||
#define INFO		17		/* Informative messages that are part of
 | 
			
		||||
							 * normal query operation; sent only to
 | 
			
		||||
							 * client by default. */
 | 
			
		||||
#define INFOALWAYS	18		/* Like INFO, but always prints to client */	
 | 
			
		||||
#define NOTICE		19		/* Important messages, for unusual cases that
 | 
			
		||||
							 * should be reported but are not serious 
 | 
			
		||||
							 * enough to abort the query.  Sent to client
 | 
			
		||||
							 * and server log by default. */
 | 
			
		||||
#define ERROR		20		/* user error - return to known state */
 | 
			
		||||
#define FATAL		21		/* fatal error - abort process */
 | 
			
		||||
#define PANIC		22		/* take down the other backends with me */
 | 
			
		||||
 | 
			
		||||
/*#define DEBUG	DEBUG1*/		/* Backward compatibility with pre-7.3 */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user