Hello,
Is there a way to register a new server and a new role with DAC components ?
Many thanks
Pio Pio
Register a new server and a new role in PostgreSQL
Re: Register a new server and a new role in PostgreSQL
hello,
Please clarify: what do you mean by "register a new server and a new role"?
Please clarify: what do you mean by "register a new server and a new role"?
Re: Register a new server and a new role in PostgreSQL
Hi AlexPAlexP wrote:hello,
Please clarify: what do you mean by "register a new server and a new role"?
For create role I mean create user http://www.postgresql.org/docs/9.2/stat ... euser.html
Just disregard the create server.
Thanks
Pio Pio
Re: Register a new server and a new role in PostgreSQL
You can create a user/role (or any database object) by executing a correspondent script. You can execute the script in the ExecSQL method, for example:
Code: Select all
PgConnection1.ExecSQL('createuser joe');
Re: Register a new server and a new role in PostgreSQL
Thank you very much for your explanation, AlexP.AlexP wrote:You can create a user/role (or any database object) by executing a correspondent script. You can execute the script in the ExecSQL method, for example:
Code: Select all
PgConnection1.ExecSQL('createuser joe');
Pio Pio
Re: Register a new server and a new role in PostgreSQL
You are welcome. Feel free to contact us if you have any further questions.