

To find the current caret location in the editor, press Ctrl+M. To navigate to the last edited location, press Ctrl+Shift+Backspace. To use these shortcuts on Windows, make sure you have disabled the hotkeys. To move forward, select Navigate | Forward or press Ctrl+Alt+Right. To see the previous caret position, select Navigate | Back from the main menu or press Ctrl+Alt+Left. For the detailed information on navigating between the editor and tool windows, check the editor basics. Where n.You can quickly navigate through code in the editor using different actions and popups. Now if you want to search a specific word or text in all function is something like that, make sure you replace your text in the function: with tbl as ( Where n.nspname not in ('pg_catalog', 'information_schema') Left join pg_type t on t.oid = p.prorettype Left join pg_language l on p.prolang = l.oid Left join pg_namespace n on p.pronamespace = n.oid Pg_get_function_arguments(p.oid) as function_arguments, To list all functions: select n.nspname as function_schema,Ĭase when l.lanname = 'internal' then p.prosrc So you can get the source code of the trigger function just as the above that I pointed out ! It will show you the details of the trigger of the table. Skytf=> select oid,relname from pg_class where oid=26599 step 2: Get the table name of the above oid !.Skytf=> select tgrelid from pg_trigger where tgname='insert_tbl_tmp_trigger' step 1 : Get the table oid of the trigger:.Just know the following way, may be it will help you! I dont't know if there is a direct way to get the source code. It will show the source code of the function. Public | pg_buffercache_pages | SETOF record | | normal Schema | Name | Result data type | Argument data types | Type You can query the pg_proc view, just as the following select proname,prosrc from pg_proc where proname= your_function_name Īnother way is that just execute the commont \df and \ef which can list the functions.
