'String agg funtion usage in stored proceedure in postgres

Execute 'Select string_agg(column_name,',') AS collist from information_schema where table_name= student'; Is not working even when table_name is prefixed with information_schema.columns.table_name.

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source