Comment header for src/test/regress/regress.c

Started by Ian Barwickabout 11 years ago3 messages
#1Ian Barwick
ian@2ndquadrant.com
1 attachment(s)

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

Attachments:

regress-comment.patchtext/x-patch; name=regress-comment.patchDownload
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"
#2Heikki Linnakangas
hlinnakangas@vmware.com
In reply to: Ian Barwick (#1)
Re: 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

#3Ian Barwick
ian@2ndquadrant.com
In reply to: Heikki Linnakangas (#2)
Re: 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