Skip to content

andyatkinson/db-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorials from PostgreSQL Stored Procedures

Stored procedures

\df to list all stored procedures

View stored procedure code with \df+ function, e.g. \df+ inc or \ef func to edit the function

inc - increment a number Usage: SELECT inc(20);

get_sum(a,b) Usage: select get_sum(1,2);

hi_lo(a,b,c) Usage: select hi_lo(1,2,3);

sum_avg(NUMERIC[]) Usage: select sum_avg(1,2,3,4,5);

About

Tutorials from PostgreSQL Stored Procedures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors