De : Fabien COELHO <coelho@cri.ensmp.fr> Envoyé : lundi 31 mars 2025 13:48 À : PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org> Objet : Add partial :-variable expansion to psql \copy
Hello,
I've been biten by psql's \copy lack of variable expansion, in a limited-access docker-inside-VM context where COPY is not a viable option and hardwired names are not desirable. The attached patch allows \copy to use variable's values in place of table and file names: