1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Make inet/cidr << and <<= operators indexable. From Alex Pilosov <alex@pilosoft.com>.

This commit is contained in:
Tom Lane
2001-06-17 02:05:20 +00:00
parent 2917f0a5dd
commit 1f1ca182be
6 changed files with 237 additions and 16 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: builtins.h,v 1.154 2001/06/14 01:09:22 tgl Exp $
* $Id: builtins.h,v 1.155 2001/06/17 02:05:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -527,6 +527,8 @@ extern double convert_network_to_scalar(Datum value, Oid typid);
extern Datum text_cidr(PG_FUNCTION_ARGS);
extern Datum text_inet(PG_FUNCTION_ARGS);
extern Datum inet_set_masklen(PG_FUNCTION_ARGS);
extern Datum network_scan_first(Datum in);
extern Datum network_scan_last(Datum in);
/* mac.c */
extern Datum macaddr_in(PG_FUNCTION_ARGS);