Skip to content

Commit

Permalink
* Updated docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
paololucente committed Dec 10, 2018
1 parent 2a0878c commit e4c594a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions sql/README.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ Similarly, BGP tables:

- For custom-defined primitives refer to the README.custom_primitives doc.

NOTE: certain primitives, ie. BGP attributtes like AS-PATH and communities
(as_path, std_comm, etc.), can get arbitrarily long if not properly scoped
(ie. bgp_aspath_radius, bgp_stdcomm_pattern, etc.) and hence not fit in
default field definitions (ie. CHAR(21) or CHAR(24)). It is possible to
define these as arbitrarily-long variable-length strings using VARCHAR or
TEXT data types. Consult latest MySQL/MariaDB docs for examples and notes
(charset choices, etc.).

NOTE: mind to specify EVERYTIME which SQL table version you
intend to adhere to by using the following config directives:

Expand Down
8 changes: 8 additions & 0 deletions sql/README.pgsql
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ pairs: the protocol field of both typed and unified tables is numerical. This ta
in looking up protocol names by their number and viceversa. Because joins are expensive,
'proto' table has been created *only* for your personal reference.

NOTE: certain primitives, ie. BGP attributtes like AS-PATH and communities
(as_path, std_comm, etc.), can get arbitrarily long if not properly scoped
(ie. bgp_aspath_radius, bgp_stdcomm_pattern, etc.) and hence not fit in
default field definitions (ie. CHAR(21) or CHAR(24)). It is possible to
define these as arbitrarily-long variable-length strings using VARCHAR or
TEXT data types. Consult latest PostgreSQL docs for examples and notes
(charset choices, etc.).

NOTE: mind to specify EVERYTIME which SQL table version you
intend to adhere to by using the following config directives:

Expand Down
2 changes: 1 addition & 1 deletion src/pmacct-build.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define PMACCT_BUILD "20181209-00"
#define PMACCT_BUILD "20181210-00"

0 comments on commit e4c594a

Please sign in to comment.