PivotMyTable is a PL/Python PosgreSQL function for easy construction of pivot tables, generating the proper code for the crosstab functions from the PostgreSQL extension tablefunc to work.
GNU General Public License v3.0
16
stars
9
forks
source link
Allow materialized views as input table to pivot #5
Use pg_attribute (Postgresql catalog table) instead of
information_schema to get metadata on Postgresql relations. It is
faster and contains details about all relations: tables, views and
materialized views. Closes #4.
Use current_schema() as a relation name prefix to make sure
that it refers current schema (the same names can exist in different
schemas).
Use pg_attribute (Postgresql catalog table) instead of information_schema to get metadata on Postgresql relations. It is faster and contains details about all relations: tables, views and materialized views. Closes #4.
Use current_schema() as a relation name prefix to make sure that it refers current schema (the same names can exist in different schemas).