projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222cf25
)
pgq/triggers/common.h: reorder fields, comment them
author
Marko Kreen
<markokr@gmail.com>
Mon, 3 Mar 2008 16:03:08 +0000
(16:03 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Mon, 3 Mar 2008 16:03:08 +0000
(16:03 +0000)
sql/pgq/triggers/common.h
patch
|
blob
|
blame
|
history
diff --git
a/sql/pgq/triggers/common.h
b/sql/pgq/triggers/common.h
index 6afe6e3f7ddb728abaf6476c00fe53b3d6396372..3cbbdc06ae3ff0bf42733b9f037820d10e5901dd 100644
(file)
--- a/
sql/pgq/triggers/common.h
+++ b/
sql/pgq/triggers/common.h
@@
-30,11
+30,11
@@
typedef struct PgqTriggerEvent PgqTriggerEvent;
* so nothing trigger-specific should be stored.
*/
struct PgqTableInfo {
- Oid oid;
- char *table_name;
- const char *pkey_list;
- int
n_pkeys;
- int *pkey_attno;
+ Oid oid;
/* must be first, used by htab */
+ int n_pkeys; /* number of pkeys */
+ const char *pkey_list;
/* pk column name list */
+ int
*pkey_attno; /* pk column positions */
+ char *table_name; /* schema-quelified table name */
};
/* common.c */