I'm sorry for not responding earlier. She ended up falling into spam. I solved it by creating a specific variable in the postgresql configuration file.
If it's not too much trouble, I have another question: my name is Anderson Antunes. I live in Brazil. I'm doing research for a master's project about pseudo random numbers and would like to know more information about the random() function used to randomly order a set of records. I tried to search through the site that offers the source code but I couldn't identify the exact implementation of this function.
Em qui., 24 de set. de 2020 às 18:07, Bruce Momjian <bruce@momjian.us> escreveu:
On Tue, Sep 22, 2020 at 06:57:13PM +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 16628 > Logged by: Anderson Antunes > Email address: anderson.ant.oli@gmail.com > PostgreSQL version: 9.5.0 > Operating system: Linux > Description: > > Hi, > > Is there any possibility of developing a function to retrieve hostname and > the connection string? > > Example: > > select get_host_name ();
You can get the server IP address, but not the host name: