Search Postgresql Archives
Run external command as part of an sql statement ?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Subject
: Run external command as part of an sql statement ?
From
: David Gauthier <davegauthierpg@xxxxxxxxx>
Date
: Mon, 7 May 2018 17:35:49 -0400
Hi:
At the psql prompt, I can do something like...
"select \! id -nu"
...to get the uid of whoever's running psql.
I want to be able to run a shell command like this from within a stored procedure. Is there a way to do this ?
Thanks
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: Run external command as part of an sql statement ?
From:
Adrian Klaver
Re: Run external command as part of an sql statement ?
From:
David G. Johnston
Prev by Date:
How to manipulate tuples in C functions?
Next by Date:
Re: Run external command as part of an sql statement ?
Previous by thread:
How to manipulate tuples in C functions?
Next by thread:
Re: Run external command as part of an sql statement ?
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]