Re: [HACKERS] Comment header for src/test/regress/regress.c
On 14/11/21 22:10, Heikki Linnakangas wrote: > On 11/21/2014 06:23 AM, Ian Barwick wrote: >> I thought it might be useful to add a few words at the top >> of 'src/test/regress/regress.c' to explain what it does and >> to help differentiate it from 'pg_regress.c' and >> 'pg_regress_main.c'. > > Makes sense, committed. I remember being a bit confused on that myself, > when first reading the pg_regress code. Thanks! Ian Barwick -- Ian Barwick http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Comment header for src/test/regress/regress.c
On 11/21/2014 06:23 AM, Ian Barwick wrote: I thought it might be useful to add a few words at the top of 'src/test/regress/regress.c' to explain what it does and to help differentiate it from 'pg_regress.c' and 'pg_regress_main.c'. Makes sense, committed. I remember being a bit confused on that myself, when first reading the pg_regress code. - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
[HACKERS] Comment header for src/test/regress/regress.c
I thought it might be useful to add a few words at the top of 'src/test/regress/regress.c' to explain what it does and to help differentiate it from 'pg_regress.c' and 'pg_regress_main.c'. Regards Ian Barwick -- Ian Barwick http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c new file mode 100644 index 1487171..be27416 *** a/src/test/regress/regress.c --- b/src/test/regress/regress.c *** *** 1,5 ! /* * src/test/regress/regress.c */ #include "postgres.h" --- 1,17 ! /* ! * ! * regress.c ! * Code for various C-language functions defined as part of the ! * regression tests. ! * ! * This code is released under the terms of the PostgreSQL License. ! * ! * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group ! * Portions Copyright (c) 1994, Regents of the University of California ! * * src/test/regress/regress.c + * + *- */ #include "postgres.h" -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers