diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 2000-08-23 06:04:49 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 2000-08-23 06:04:49 +0000 |
commit | 8a35cbe1db808126b5285bdfbc115b6f0e393541 (patch) | |
tree | 3ac2cabb0a73afc56fe15db97053cf07da150124 /src/include/utils/builtins.h | |
parent | aa2a3bfd486bc256e97c5a0832523b0162aeadca (diff) | |
download | postgresql-8a35cbe1db808126b5285bdfbc115b6f0e393541.tar.gz postgresql-8a35cbe1db808126b5285bdfbc115b6f0e393541.zip |
Add functions to convert to and from text, and to truncate to MAC OUI.
Remove hardcoded macaddr_manuf(), which had really old, obsolete info.
Replace this with some contrib/mac/ code to maniag OUI info from IEEE.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 95f94fe93fc..1e16af6874f 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.132 2000/08/07 01:43:35 thomas Exp $ + * $Id: builtins.h,v 1.133 2000/08/23 06:04:49 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -502,7 +502,9 @@ extern Datum macaddr_eq(PG_FUNCTION_ARGS); extern Datum macaddr_ge(PG_FUNCTION_ARGS); extern Datum macaddr_gt(PG_FUNCTION_ARGS); extern Datum macaddr_ne(PG_FUNCTION_ARGS); -extern Datum macaddr_manuf(PG_FUNCTION_ARGS); +extern Datum macaddr_trunc(PG_FUNCTION_ARGS); +extern Datum macaddr_text(PG_FUNCTION_ARGS); +extern Datum text_macaddr(PG_FUNCTION_ARGS); /* numeric.c */ extern Datum numeric_in(PG_FUNCTION_ARGS); |