Is this the regular behavior on DBLink?<br /><br />rot=> SELECT user, current_database();<br /> current_user |
current_database<br/>--------------+------------------<br /> sa_rot | rot<br />(1 registro)<br /><br />rot=>
SELECT* <br />rot-> FROM dblink('dbname=escola',<br />rot(> 'SELECT user, current_database()')<br />rot-> AS
(usrname, db name);<br /> usr | db<br />----------+--------<br /> postgres | escola<br />(1 registro) <br /><br
/>Thisway, I fear DBLink functions should become a vulnerability issue on my database.<br />Is there any way to protect
oroverride this setting? Or it should be done on pg_hba.conf only?<br clear="all" /><br />-- <br />Regards, <br /><br
/>RodrigoHjort<br /><a href="http://icewall.org/~hjort">http://icewall.org/~hjort</a><br /><br />