git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9bf1db0)
Fix a few warnings that have crept into CVS HEAD.
2008年5月14日 15:16:27 +0000 (15:16 +0000)
2008年5月14日 15:16:27 +0000 (15:16 +0000)

diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h
index 2fa46a0b8aa8ede1e526338b209924446a3598a4..06490321ddf96f04e840d9f5b84b7ec9e40ae749 100644 (file)
--- a/src/bin/scripts/common.h
+++ b/src/bin/scripts/common.h
@@ -4,7 +4,7 @@
*
* Copyright (c) 2003-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.19 2008年01月01日 19:45:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.20 2008年05月14日 15:16:27 momjian Exp $
*/
#ifndef COMMON_H
#define COMMON_H
@@ -42,4 +42,6 @@ extern bool yesno_prompt(const char *question);
extern void setup_cancel_handler(void);
+extern char *pg_strdup(const char *string);
+
#endif /* COMMON_H */
diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c
index efe8e4c3f51e7dd5816440bc1c07d0a50ae247a6..6ddda4e9edd5a6890801e0239b764dac8be0745d 100644 (file)
--- a/src/interfaces/ecpg/ecpglib/prepare.c
+++ b/src/interfaces/ecpg/ecpglib/prepare.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.27 2008年05月12日 16:29:04 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.28 2008年05月14日 15:16:27 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co
struct statement *stmt;
struct prepared_statement *this,
*prev;
- struct sqlca_t *sqlca = ECPGget_sqlca();
PGresult *query;
con = ecpg_get_connection(connection_name);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /