Re: Shell Commands
От | Gregory Wood |
---|---|
Тема | Re: Shell Commands |
Дата | |
Msg-id | 047901c2e400$313cdb40$4f89ffcc@eng3 обсуждение исходный текст |
Ответ на | Shell Commands ("Carl Olivier" <carl@zero-one.co.za>) |
Список | pgsql-general |
By default, no. But you can add that functionality if you really need it. You can either pass shell commands through one of the untrusted languages (plperlu as one person suggested) or through this PL which specifically allows you to run shell commands: http://webmail.postgresql.org/~petere/plsh.html That said, shell commands will only be executed with the permissions of the user running PostgreSQL (in most cases "postgres"). Greg ----- Original Message ----- From: "Carl Olivier" <carl@zero-one.co.za> To: <pgsql-general@postgresql.org> Sent: Thursday, March 06, 2003 10:21 AM Subject: [GENERAL] Shell Commands > Greetings. > > OK, so I am going to ask a bad question, but hey, here goes: > > In MSSql it is possible to run Shell commands from within Sql via any > interface (suchg as JDBC) using mechanism MSSql provides.... > > Is this possiible in POSTGRESql? I know it is a security hole (through > which many MS Servers are exploited), but was just wondering! > > Anyway, thanks in advance, > > Carl Olivier > >
В списке pgsql-general по дате отправления: