diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
| commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
| tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /src/interfaces/ecpg/ecpglib/ecpglib_extern.h | |
| parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) | |
| download | postgresql-be76af171cdb3e7465c4ef234af403f97ad79b7b.tar.gz | |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/ecpglib_extern.h')
| -rw-r--r-- | src/interfaces/ecpg/ecpglib/ecpglib_extern.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/interfaces/ecpg/ecpglib/ecpglib_extern.h b/src/interfaces/ecpg/ecpglib/ecpglib_extern.h index d63efd5459..d34a75c04d 100644 --- a/src/interfaces/ecpg/ecpglib/ecpglib_extern.h +++ b/src/interfaces/ecpg/ecpglib/ecpglib_extern.h @@ -90,9 +90,9 @@ struct statement /* structure to store declared statements */ struct declared_statement { - char *name; /* declared name */ - char *connection_name; - char *cursor_name; + char *name; /* declared name */ + char *connection_name; + char *cursor_name; struct declared_statement *next; }; @@ -107,7 +107,7 @@ struct prepared_statement struct cursor_statement { - char *name; /*cursor name*/ + char *name; /* cursor name */ struct cursor_statement *next; }; @@ -204,10 +204,10 @@ struct descriptor *ecpg_find_desc(int line, const char *name); struct prepared_statement *ecpg_find_prepared_statement(const char *, struct connection *, struct prepared_statement **); -void ecpg_update_declare_statement(const char *, const char *, const int); -char *ecpg_get_con_name_by_declared_name(const char *); +void ecpg_update_declare_statement(const char *, const char *, const int); +char *ecpg_get_con_name_by_declared_name(const char *); const char *ecpg_get_con_name_by_cursor_name(const char *); -void ecpg_release_declared_statement(const char *); +void ecpg_release_declared_statement(const char *); bool ecpg_store_result(const PGresult *results, int act_field, const struct statement *stmt, struct variable *var); |
