![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I was trying to check some permissions on functions and then I noticed that there's no command in psql to show that information. I've tried using "\z", "\df" and "\df+" without success on PostgreSQL 7.4.5. It would be an interesting addition to have that, as we do have the commands to show permissions on tables. |
#3
| |||
| |||
|
|
I was trying to check some permissions on functions and then I noticed that there's no command in psql to show that information. I've tried using "\z", "\df" and "\df+" without success on PostgreSQL 7.4.5. It would be an interesting addition to have that, as we do have the commands to show permissions on tables. ah, I found it. try... SELECT proacl FROM pg_proc WHERE proname='functioname'; |
#4
| |||
| |||
|
|
testbase=# SELECT proacl, proargtypes FROM pg_proc WHERE proname='to_ascii'; proacl | proargtypes ---------------+------------- {=X/postgres} | 25 {=X/postgres} | 25 19 {=X/postgres} | 25 23 (3 rows) testbase=# Where can I find this '25', '19', '23', etc. name? :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |