A few warnings have crept into CVS HEAD;  the attached patch fixes them.

-- 
  Bruce Momjian  <[EMAIL PROTECTED]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: src/bin/scripts/common.h
===================================================================
RCS file: /cvsroot/pgsql/src/bin/scripts/common.h,v
retrieving revision 1.19
diff -c -c -r1.19 common.h
*** src/bin/scripts/common.h	1 Jan 2008 19:45:56 -0000	1.19
--- src/bin/scripts/common.h	14 May 2008 15:11:36 -0000
***************
*** 42,45 ****
--- 42,47 ----
  
  extern void setup_cancel_handler(void);
  
+ extern char *pg_strdup(const char *string);
+ 
  #endif   /* COMMON_H */
Index: src/interfaces/ecpg/ecpglib/prepare.c
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v
retrieving revision 1.27
diff -c -c -r1.27 prepare.c
*** src/interfaces/ecpg/ecpglib/prepare.c	12 May 2008 16:29:04 -0000	1.27
--- src/interfaces/ecpg/ecpglib/prepare.c	14 May 2008 15:11:37 -0000
***************
*** 117,123 ****
  	struct statement *stmt;
  	struct prepared_statement *this,
  			   *prev;
- 	struct sqlca_t *sqlca = ECPGget_sqlca();
  	PGresult   *query;
  
  	con = ecpg_get_connection(connection_name);
--- 117,122 ----
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to