pgsql: More carefully validate xlog location string inputs

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: More carefully validate xlog location string inputs
Date: 2012-03-04 11:27:03
Message-ID: E1S49ah-0001YA-Q4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

More carefully validate xlog location string inputs

Now that we have validate_xlog_location, call it from the previously
existing functions taking xlog locatoins as a string input.

Suggested by Fujii Masao

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/141b89826ddb82b3afa7cf5e048d28a3d8e1c45c

Modified Files
--------------
src/backend/access/transam/xlogfuncs.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-03-04 20:40:44 pgsql: Improve histogram-filling loop in new compute_array_stats() code
Previous Message Tom Lane 2012-03-04 01:21:19 pgsql: Collect and use element-frequency statistics for arrays.