mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Code review for recently-added network functions. Get it to work when
log_hostname is enabled, clean up documentation.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.241 2004/06/02 21:29:29 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.242 2004/06/13 19:56:52 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -649,10 +649,6 @@ extern int inet_net_pton(int af, const char *src,
|
||||
void *dst, size_t size);
|
||||
|
||||
/* network.c */
|
||||
extern Datum inet_client_addr(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_client_port(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_server_addr(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_server_port(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_in(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_out(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_recv(PG_FUNCTION_ARGS);
|
||||
@@ -687,6 +683,10 @@ 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);
|
||||
extern Datum inet_client_addr(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_client_port(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_server_addr(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_server_port(PG_FUNCTION_ARGS);
|
||||
|
||||
/* mac.c */
|
||||
extern Datum macaddr_in(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user