File: table_log.h

package info (click to toggle)
tablelog 0.6.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: ansic: 1,284; sql: 708; makefile: 12; sh: 2
file content (18 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * table_log () -- log changes to another table
 *
 *
 * see README.md for details
 *
 *
 * written by Andreas ' ads' Scherbaum (ads@pgug.de)
 * adapted for PostgreSQL 9.1+ by Bernd Helmle (bernd.helmle@credativ.de)
 *
 */
#define MAX_TABLE_LOG_PARTITIONS 2

/*
 * Selected log table identifier, relies
 * on the current selected partition via table_log.active_partition
 */
typedef int TableLogPartitionId;