[HACKERS] DBLink's default user: postgres

2007-10-17 Thread Rodrigo Hjort
Is this the regular behavior on DBLink? rot= SELECT user, current_database(); current_user | current_database --+-- sa_rot | rot (1 registro) rot= SELECT * rot- FROM dblink('dbname=escola', rot( 'SELECT user, current_database()') rot- AS (usr name, db name);

Re: [HACKERS] DBLink's default user: postgres

2007-10-17 Thread Tommy Gildseth
Rodrigo Hjort wrote: Is this the regular behavior on DBLink? rot= SELECT user, current_database(); current_user | current_database --+-- sa_rot | rot (1 registro) rot= SELECT * rot- FROM dblink('dbname=escola', rot( 'SELECT user, current_database()') rot- AS