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

Teach convert_to_scalar about datatypes timetz, inet, cidr, macaddr.

This commit is contained in:
Tom Lane
2001-06-09 22:16:18 +00:00
parent e8637ec9de
commit 202548d6cc
3 changed files with 76 additions and 3 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.149 2001/06/07 00:09:31 momjian Exp $
* $Id: builtins.h,v 1.150 2001/06/09 22:16:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -514,6 +514,7 @@ 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);
extern double convert_network_to_scalar(Datum value, Oid typid);
/* mac.c */
extern Datum macaddr_in(PG_FUNCTION_ARGS);