test_ddl_deparse: Rename test create_sequence_1

Started by Michael Paquier8 months ago3 messageshackers
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Hi all,

While looking at this area of the code, I got confused by the choice
of using create_sequence_1 as name for one of the scripts in the test
module test_ddl_deparse. This is usually reserved for alternate
outputs, but we don't need to rely on that in this case.

How about renaming the test as per the attached?
Thanks,
--
Michael

Attachments:

0001-test_ddl_deparse-create_sequence_1-create_sequence.patchtext/x-diff; charset=us-asciiDownload+2-3
#2Kirill Reshke
reshkekirill@gmail.com
In reply to: Michael Paquier (#1)
Re: test_ddl_deparse: Rename test create_sequence_1

Hi!

On Mon, 18 Aug 2025 at 12:40, Michael Paquier <michael@paquier.xyz> wrote:

Hi all,

While looking at this area of the code, I got confused by the choice
of using create_sequence_1 as name for one of the scripts in the test
module test_ddl_deparse. This is usually reserved for alternate
outputs, but we don't need to rely on that in this case.

I did not find any related discussion or objections in the thread [0]/messages/by-id/20150508192921.GM2523@alvh.no-ip.org,
so this is probably an oversight of b488c58.

Also, do we have any doc about regression file names/alternate
outputs? I did not find any.

[0]: /messages/by-id/20150508192921.GM2523@alvh.no-ip.org

--
Best regards,
Kirill Reshke

#3Michael Paquier
michael@paquier.xyz
In reply to: Kirill Reshke (#2)
Re: test_ddl_deparse: Rename test create_sequence_1

On Mon, Aug 18, 2025 at 02:05:20PM +0500, Kirill Reshke wrote:

Also, do we have any doc about regression file names/alternate
outputs? I did not find any.

You have missed this one:
https://www.postgresql.org/docs/devel/regress-variant.html
--
Michael