Skip to content

corlogic-code/generate_date_series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate_date_series

PGXN version

generate_date_series is an extension that provides a generate_series()-like function that takes date inputs and an integer interval (representing days).

USAGE

For function documentation and examples, see the generate_date_series.md file.

INSTALLATION

Requirements: PostgreSQL 9.2 or greater.

In the directory where you downloaded generate_date_series, run

make && make install

Log into PostgreSQL.

Run the following command:

CREATE EXTENSION generate_date_series;

To all any user to execute this new function, run the following grant:

GRANTE execute on generate_date_series(date,date,integer) to public;

UPGRADE

Run "make && make install" same as above to put the script files and libraries in place. Then run the following in PostgreSQL itself:

ALTER EXTENSION generate_date_series UPDATE TO '<latest version>';

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published