diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-22 18:00:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-22 18:00:24 +0000 |
commit | 61784c54b59ccf810f95de88ca42c60a0d7d798e (patch) | |
tree | 755d3a57e4306201900cd4c70ea1fa35015f74e1 /src/include/utils/builtins.h | |
parent | 13b78a2400efe11ae3929b43992d261ed20b5305 (diff) | |
download | postgresql-61784c54b59ccf810f95de88ca42c60a0d7d798e.tar.gz postgresql-61784c54b59ccf810f95de88ca42c60a0d7d798e.zip |
Change default output formatting for CIDR to be unabbreviated, per
recommendation from Paul Vixie. Add a new abbrev() function to produce
abbreviated format as text. No forced initdb, but new function is not
available unless you do an initdb or add the pg_proc row manually.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 97f03b75a2d..c23e2f33124 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.144 2000/12/08 23:57:00 tgl Exp $ + * $Id: builtins.h,v 1.145 2000/12/22 18:00:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -508,6 +508,7 @@ extern Datum network_masklen(PG_FUNCTION_ARGS); extern Datum network_broadcast(PG_FUNCTION_ARGS); extern Datum network_host(PG_FUNCTION_ARGS); extern Datum network_show(PG_FUNCTION_ARGS); +extern Datum network_abbrev(PG_FUNCTION_ARGS); /* mac.c */ extern Datum macaddr_in(PG_FUNCTION_ARGS); |