pg85-ecpg-fix-nan-inf-12-regr-ctxdiff.patch

text/x-patch

Filename: pg85-ecpg-fix-nan-inf-12-regr-ctxdiff.patch
Type: text/x-patch
Part: 1
Message: Re: NaN/Inf fix for ECPG

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c 1 1
src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc 1 1
diff -dcrpN pgsql.orig/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c pgsql/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c
*** pgsql.orig/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c	2010-02-16 19:56:08.000000000 +0100
--- pgsql/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c	2010-02-25 13:16:17.000000000 +0100
***************
*** 9,16 ****
  #line 1 "nan_test.pgc"
  #include <stdio.h>
  #include <stdlib.h>
- #include <math.h>
  #include <float.h>
  #include <pgtypes_numeric.h>
  #include <decimal.h>
  
--- 9,16 ----
  #line 1 "nan_test.pgc"
  #include <stdio.h>
  #include <stdlib.h>
  #include <float.h>
+ #include <math.h>
  #include <pgtypes_numeric.h>
  #include <decimal.h>
  
diff -dcrpN pgsql.orig/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc pgsql/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc
*** pgsql.orig/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc	2010-02-16 19:56:09.000000000 +0100
--- pgsql/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc	2010-02-25 13:15:07.000000000 +0100
***************
*** 1,7 ****
  #include <stdio.h>
  #include <stdlib.h>
- #include <math.h>
  #include <float.h>
  #include <pgtypes_numeric.h>
  #include <decimal.h>
  
--- 1,7 ----
  #include <stdio.h>
  #include <stdlib.h>
  #include <float.h>
+ #include <math.h>
  #include <pgtypes_numeric.h>
  #include <decimal.h>