pgsql: Fix portability problem in Catalog.pm.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix portability problem in Catalog.pm.
Date: 2017-03-10 01:46:15
Message-ID: E1cm9dH-00080A-8q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix portability problem in Catalog.pm.

Commit 7666e73a2 introduced a dependency on filehandles' input_line_number
method, but apparently that's a Perl neologism. Use $. instead, which
works at least back to Perl 5.10, and hopefully back to 5.8.

Jeff Janes

Discussion: https://postgr.es/m/CAMkU=1wuQW=xVfu-14A4VCvxO0ohkD3m9vk6HOj_dprQoKNAQw@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/15bb93e28e49fdf4f28d509c07d1527886acb3e2

Modified Files
--------------
src/backend/catalog/Catalog.pm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-10 01:59:06 Re: [COMMITTERS] pgsql: Fix hard-coded relkind constants in pg_dump.c.
Previous Message Stephen Frost 2017-03-10 01:06:53 pgsql: pgstattuple: Fix typo partitiond -> partitioned