BUG #13905: Inconsistent code modification

From: petrum(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13905: Inconsistent code modification
Date: 2016-02-02 07:47:44
Message-ID: 20160202074744.2780.43822@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13905
Logged by: Petru Florin Mihancea
Email address: petrum(at)gmail(dot)com
PostgreSQL version: 9.4.4
Operating system: MacOSX
Description:

While experimenting with a CodeSonar plugin I am working on I identified the
following potential low severity bug.

Location: file src/include/catalog/pg_proc.h

Lines 4613 and 4615 looks to be copies of lines 4252 and 4254,
respectively.
They are parts of a larger code fragment duplicated and modified by
replacing *json* with *jsonb*. However, lines 4613 and 4615 are not modified
accordingly i.e., they still contain the *json* sub-string and not the
*jsonb* as it would be expected according to their neighbor source code
lines.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message dmitry-ryabov 2016-02-02 12:59:24 BUG #13906: improper hstore_to_json_loose functioning
Previous Message Amit Kapila 2016-02-02 04:42:25 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby