I would like to have a column in a Postgres table that will store the remote IP address of the user connecting to the database. I think of the "inet" data type with some kind of default restriction. Any ideas?
Thank.
Feature for you inet_client_addr().
inet_client_addr()
? IP- , psql, , Postgres ? -, inet .
Request that all ip clients connect to the database
SELECT client_addr FROM pg_stat_activity
Source: https://habr.com/ru/post/1731159/More articles:Adding data and a session containing data - vb.netjQuery live confirm - javascriptHow to find cpu, io, memory usage of download page in web application - javaHow to use a mutex code in a C # program? - c #How can I upload test data to AppEngine automatically? - pythonIs it a good idea to use the Zend Framework on a mid-sized website? - phpЯвляется ли zend-каркас устойчивым? - phpImageView rotation in layout ... how? - androidAre there any java collection wrappers / collections that fail with multithreaded access? - javacalling one child form from another child form in C # - c #All Articles