pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix wrong file path in header comment
4+ messages / 3 participants
[nested] [flat]

* pgsql: Fix wrong file path in header comment
@ 2018-07-11 10:26  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Alexander Korotkov @ 2018-07-11 10:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix wrong file path in header comment

Header comment of shm_mq.c was mistakenly specifying path to shm_mq.h.
It was introduced in ec9037df.  So, theoretically it could be
backpatched to 9.4, but it doesn't seem to worth it.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a01d0fa1d889cc2003e1941e8b98707c4d701ba9

Modified Files
--------------
src/backend/storage/ipc/shm_mq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fix wrong file path in header comment
@ 2018-07-11 14:02  Alexander Korotkov <a.korotkov@postgrespro.ru>
  parent: Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Alexander Korotkov @ 2018-07-11 14:02 UTC (permalink / raw)
  To: Alexander Korotkov <akorotkov@postgresql.org>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>

On Wed, Jul 11, 2018 at 1:26 PM Alexander Korotkov
<akorotkov@postgresql.org> wrote:
> Header comment of shm_mq.c was mistakenly specifying path to shm_mq.h.
> It was introduced in ec9037df.  So, theoretically it could be
> backpatched to 9.4, but it doesn't seem to worth it.

I didn't backpatch, because I thought it doesn't worth it to create
buzz over single wrong path in the comment.  But, I found 12 similar
cases in our source tree.  Do you think it worth backpatching now?

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachments:

header-comment-filepath-fix.patch (application/octet-stream, 5.8K) download diff --git a/src/backend/access/common/bufmask.c b/src/backend/access/common/bufmask.c index 57021f6ca1a..806f28e4211 100644 --- a/src/backend/access/common/bufmask.c +++ b/src/backend/access/common/bufmask.c @@ -10,7 +10,7 @@ * Contains common routines required for masking a page. * * IDENTIFICATION - * src/backend/storage/buffer/bufmask.c + * src/backend/access/common/bufmask.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/commands/dropcmds.c b/src/backend/commands/dropcmds.c index 4b38ef68d98..a2a8e37b3c3 100644 --- a/src/backend/commands/dropcmds.c +++ b/src/backend/commands/dropcmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * src/backend/catalog/dropcmds.c + * src/backend/commands/dropcmds.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/jit/llvm/llvmjit_types.c b/src/backend/jit/llvm/llvmjit_types.c index 42304d06401..58316a760d4 100644 --- a/src/backend/jit/llvm/llvmjit_types.c +++ b/src/backend/jit/llvm/llvmjit_types.c @@ -19,7 +19,7 @@ * Copyright (c) 2016-2018, PostgreSQL Global Development Group * * IDENTIFICATION - * src/backend/lib/llvmjit_types.c + * src/backend/jit/llvm/llvmjit_types.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/utils/cache/relfilenodemap.c b/src/backend/utils/cache/relfilenodemap.c index db6bb1c1fd4..6f6bba79c34 100644 --- a/src/backend/utils/cache/relfilenodemap.c +++ b/src/backend/utils/cache/relfilenodemap.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * src/backend/utils/cache/relfilenode.c + * src/backend/utils/cache/relfilenodemap.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/utils/misc/queryenvironment.c b/src/backend/utils/misc/queryenvironment.c index bc2b1e81866..8547c14cc79 100644 --- a/src/backend/utils/misc/queryenvironment.c +++ b/src/backend/utils/misc/queryenvironment.c @@ -16,7 +16,7 @@ * * * IDENTIFICATION - * src/backend/backend/utils/misc/queryenvironment.c + * src/backend/utils/misc/queryenvironment.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/utils/mmgr/memdebug.c b/src/backend/utils/mmgr/memdebug.c index d45534d2938..b937b1541b2 100644 --- a/src/backend/utils/mmgr/memdebug.c +++ b/src/backend/utils/mmgr/memdebug.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * src/backend/utils/memdebug.c + * src/backend/utils/mmgr/memdebug.c * * * About CLOBBER_FREED_MEMORY: diff --git a/src/backend/utils/sort/sharedtuplestore.c b/src/backend/utils/sort/sharedtuplestore.c index 265c04b3d39..0c4ca9ef3fa 100644 --- a/src/backend/utils/sort/sharedtuplestore.c +++ b/src/backend/utils/sort/sharedtuplestore.c @@ -14,7 +14,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * src/backend/util/sort/sharedtuplestore.c + * src/backend/utils/sort/sharedtuplestore.c * *------------------------------------------------------------------------- */ diff --git a/src/common/file_perm.c b/src/common/file_perm.c index 9fd11df2886..3ce4509089a 100644 --- a/src/common/file_perm.c +++ b/src/common/file_perm.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * src/include/common/file_perm.c + * src/common/file_perm.c * *------------------------------------------------------------------------- */ diff --git a/src/common/unicode/norm_test.c b/src/common/unicode/norm_test.c index 56759bee8db..dac455282e6 100644 --- a/src/common/unicode/norm_test.c +++ b/src/common/unicode/norm_test.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 2017-2018, PostgreSQL Global Development Group * * IDENTIFICATION - * src/common/unicode_norm.c + * src/common/unicode/norm_test.c * *------------------------------------------------------------------------- */ diff --git a/src/include/storage/sharedfileset.h b/src/include/storage/sharedfileset.h index d74c488e590..ed6b178aede 100644 --- a/src/include/storage/sharedfileset.h +++ b/src/include/storage/sharedfileset.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * src/include/storage/sharedfilespace.h + * src/include/storage/sharedfileset.h * *------------------------------------------------------------------------- */ diff --git a/src/include/utils/evtcache.h b/src/include/utils/evtcache.h index 727b6ba5887..0d0dd3d8170 100644 --- a/src/include/utils/evtcache.h +++ b/src/include/utils/evtcache.h @@ -1,13 +1,13 @@ /*------------------------------------------------------------------------- * - * evtcache.c + * evtcache.h * Special-purpose cache for event trigger data. * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * src/backend/utils/cache/evtcache.c + * src/include/utils/evtcache.h * *------------------------------------------------------------------------- */ diff --git a/src/interfaces/ecpg/include/sqlda-compat.h b/src/interfaces/ecpg/include/sqlda-compat.h index 7393182aa95..7b0ac45c42f 100644 --- a/src/interfaces/ecpg/include/sqlda-compat.h +++ b/src/interfaces/ecpg/include/sqlda-compat.h @@ -1,5 +1,5 @@ /* - * pgsql/src/interfaces/ecpg/include/sqlda-infx-compat.h + * src/interfaces/ecpg/include/sqlda-compat.h */ #ifndef ECPG_SQLDA_COMPAT_H
^ permalink raw reply [nested|flat] 4+ messages in thread

* Re: pgsql: Fix wrong file path in header comment
@ 2018-07-11 14:36  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Alexander Korotkov <a.korotkov@postgrespro.ru>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2018-07-11 14:36 UTC (permalink / raw)
  To: Alexander Korotkov <a.korotkov@postgrespro.ru>; +Cc: Alexander Korotkov <akorotkov@postgresql.org>; pgsql-committers <pgsql-committers@lists.postgresql.org>

Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> I didn't backpatch, because I thought it doesn't worth it to create
> buzz over single wrong path in the comment.  But, I found 12 similar
> cases in our source tree.  Do you think it worth backpatching now?

Nah, just fix 'em in HEAD.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fix wrong file path in header comment
@ 2018-07-11 14:55  Alexander Korotkov <a.korotkov@postgrespro.ru>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Alexander Korotkov @ 2018-07-11 14:55 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alexander Korotkov <akorotkov@postgresql.org>; pgsql-committers <pgsql-committers@lists.postgresql.org>

On Wed, Jul 11, 2018 at 5:36 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> > I didn't backpatch, because I thought it doesn't worth it to create
> > buzz over single wrong path in the comment.  But, I found 12 similar
> > cases in our source tree.  Do you think it worth backpatching now?
>
> Nah, just fix 'em in HEAD.

OK, thanks.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2018-07-11 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-11 10:26 pgsql: Fix wrong file path in header comment Alexander Korotkov <akorotkov@postgresql.org>
2018-07-11 14:02 ` Alexander Korotkov <a.korotkov@postgrespro.ru>
2018-07-11 14:36   ` Tom Lane <tgl@sss.pgh.pa.us>
2018-07-11 14:55     ` Alexander Korotkov <a.korotkov@postgrespro.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox