Re: Use JOIN USING aliases in ruleutils.c

2022-03-25 Thread Peter Eisentraut
On 23.03.22 16:14, Tom Lane wrote: My big fear is that it will reduce portability of pg_dump output: views that would have loaded successfully into pre-v14 servers no longer will, and your chances of porting them to other RDBMSes probably go down too. Once v13 becomes EOL, that will be less of a

Re: Use JOIN USING aliases in ruleutils.c

2022-03-23 Thread Tom Lane
Peter Eisentraut writes: > When reverse-compiling a query, ruleutils.c has some complicated code to > handle the join output columns of a JOIN USING join. There used to be > no way to qualify those columns, and so if there was a naming conflict > anywhere in the query, those output columns had

Use JOIN USING aliases in ruleutils.c

2022-02-07 Thread Peter Eisentraut
aliases "ju" with numbers added, maybe there are other ideas for how to generate these names.From ae6aa961aeb0545bd05b9be3b3f79bc79f190293 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 7 Feb 2022 09:04:02 +0100 Subject: [PATCH] Use JOIN USING aliases in ruleutils.c Wh

Use JOIN USING aliases in ruleutils.c

2021-12-20 Thread Peter Eisentraut
only commented out some code that could be removed, not actually removed it.From da15f7571f43e8eef279c3e66530d67ae9b5ef7f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 20 Dec 2021 11:37:15 +0100 Subject: [PATCH v1] Use JOIN USING aliases in ruleutils.c When reverse-compiling a query