💄 rename variable for clarity

This commit is contained in:
Javier Goizueta 2016-04-07 10:24:02 +02:00
parent 49e7094c8a
commit ee61d46100

View File

@ -166,9 +166,9 @@ RETURNS TABLE(base_table REGCLASS, z integer, overview_table REGCLASS)
AS $$ AS $$
DECLARE DECLARE
schema_name TEXT; schema_name TEXT;
_table_name TEXT; base_table_name TEXT;
BEGIN BEGIN
SELECT * FROM _cdb_split_table_name(reloid) INTO schema_name, _table_name; SELECT * FROM _cdb_split_table_name(reloid) INTO schema_name, base_table_name;
RETURN QUERY SELECT RETURN QUERY SELECT
reloid AS base_table, reloid AS base_table,
_CDB_OverviewTableZ(table_name) AS z, _CDB_OverviewTableZ(table_name) AS z,