Content-Length: 272775 | pFad | http://github.com/postgrespro/postgres_cluster/commit/9ac2f2e8ea1f427d14b07078702154422cedbb8b

6F Add missing ecpg function prototype needed when in threaded mode --- · postgrespro/postgres_cluster@9ac2f2e · GitHub
Skip to content

Commit 9ac2f2e

Browse files
committed
Add missing ecpg function prototype needed when in threaded mode ---
supresses compiler warning.
1 parent 49954b4 commit 9ac2f2e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/interfaces/ecpg/ecpglib/extern.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.17 2006/06/21 10:24:41 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.18 2006/08/04 03:23:37 momjian Exp $ */
22

33
#ifndef _ECPG_LIB_EXTERN_H
44
#define _ECPG_LIB_EXTERN_H
@@ -27,6 +27,9 @@ void ECPGadd_mem(void *ptr, int lineno);
2727
bool ECPGget_data(const PGresult *, int, int, int, enum ECPGttype type,
2828
enum ECPGttype, char *, char *, long, long, long,
2929
enum ARRAY_TYPE, enum COMPAT_MODE, bool);
30+
#ifdef ENABLE_THREAD_SAFETY
31+
void ecpg_pthreads_init(void);
32+
#endif
3033
struct connection *ECPGget_connection(const char *);
3134
char *ECPGalloc(long, int);
3235
char *ECPGrealloc(void *, long, int);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/9ac2f2e8ea1f427d14b07078702154422cedbb8b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy