Re: ecpg test suite - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ecpg test suite
Date
Msg-id 18012.1154701411@sss.pgh.pa.us
Whole thread Raw
In response to Re: ecpg test suite  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Here's the ecpg regression test diffs as of CVS tip on an HPUX box.
        regards, tom lane

*** expected/complex-test4.stdout    Wed Aug  2 10:14:02 2006
--- results//complex-test4.stdout    Fri Aug  4 10:12:19 2006
***************
*** 1,4 ****
! Found f=14,070000 text=0123456789 b=1 Found a[0] = 9 Found a[1] = 8 Found a[2] = 7
--- 1,4 ----
! Found f=14.070000 text=0123456789 b=1 Found a[0] = 9 Found a[1] = 8 Found a[2] = 7
*** expected/pgtypeslib-dt_test.stderr    Thu Aug  3 09:24:58 2006
--- results//pgtypeslib-dt_test.stderr    Fri Aug  4 10:12:20 2006
***************
*** 22,28 **** [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_data line 37: RESULT: 2000-07-12 17:34:29
offset:8 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 37: RESULT: 13556 days 12:34:00 offset: 12 array: Yes [NO_PID]: sqlca: code: 0, state:
00000[NO_PID]: ECPGtrans line 354 action = rollback connection = regress1 [NO_PID]: sqlca: code: 0, state: 00000
 
--- 22,28 ---- [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_data line 37: RESULT: 2000-07-12 17:34:29
offset:8 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 37: RESULT: 13556 days 12:34:00 offset: 16 array: Yes [NO_PID]: sqlca: code: 0, state:
00000[NO_PID]: ECPGtrans line 354 action = rollback connection = regress1 [NO_PID]: sqlca: code: 0, state: 00000
 
*** expected/pgtypeslib-dt_test.stdout    Wed Aug  2 10:14:03 2006
--- results//pgtypeslib-dt_test.stdout    Fri Aug  4 10:12:20 2006
***************
*** 41,47 ****    18 October %34 17:28:44 CEST 80, abc%n %C %B %%%d %H:%M:%S %Z %y) = 1880-10-31 15:28:44, error
(shouldbe error!): 1 timestamp_defmt_asc(abc    18 October %34 17:28:44 CEST 80, ) = 1880-10-31 15:28:44, error (should
beerror!): 1
 
! timestamp_defmt_asc(1980-04-12 3:49:44      , (null)) = 1980-04-12 03:49:44, error: 0 timestamp_defmt_asc(July 14,
1988.Time: 9:15am, %B %d, %Y. Time: %I:%M%p) = 1988-07-14 09:15:00, error: 0 timestamp_defmt_asc(September 6 at 01:30
pmin the year 1983, %B %d at %I:%M %p in the year %Y) = 1983-09-06 13:30:00, error: 0 timestamp_defmt_asc(  1976, July
14.Time: 9:15am, %Y,   %B %d. Time: %I:%M %p) = 1976-07-14 09:15:00, error: 0
 
--- 41,47 ----    18 October %34 17:28:44 CEST 80, abc%n %C %B %%%d %H:%M:%S %Z %y) = 1880-10-31 15:28:44, error
(shouldbe error!): 1 timestamp_defmt_asc(abc    18 October %34 17:28:44 CEST 80, ) = 1880-10-31 15:28:44, error (should
beerror!): 1
 
! timestamp_defmt_asc(1980-04-12 3:49:44      , ) = 1980-04-12 03:49:44, error: 0 timestamp_defmt_asc(July 14, 1988.
Time:9:15am, %B %d, %Y. Time: %I:%M%p) = 1988-07-14 09:15:00, error: 0 timestamp_defmt_asc(September 6 at 01:30 pm in
theyear 1983, %B %d at %I:%M %p in the year %Y) = 1983-09-06 13:30:00, error: 0 timestamp_defmt_asc(  1976, July 14.
Time:9:15am, %Y,   %B %d. Time: %I:%M %p) = 1976-07-14 09:15:00, error: 0
 
*** expected/sql-dyntest2.stderr    Fri Aug  4 08:50:50 2006
--- results//sql-dyntest2.stderr    Fri Aug  4 10:12:23 2006
***************
*** 58,64 **** [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_desc: reading items for tuple 2 [NO_PID]:
sqlca:code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 127: RESULT: 10297 offset: 1024 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]:ECPGget_desc: reading items for tuple 3 [NO_PID]: sqlca: code: 0, state: 00000
 
--- 58,64 ---- [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_desc: reading items for tuple 2 [NO_PID]:
sqlca:code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 127: RESULT: 10300 offset: 1024 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]:ECPGget_desc: reading items for tuple 3 [NO_PID]: sqlca: code: 0, state: 00000
 
***************
*** 198,204 **** [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_desc: reading items for tuple 2 [NO_PID]:
sqlca:code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 127: RESULT: 10300 offset: 1024 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]:ECPGget_desc: reading items for tuple 3 [NO_PID]: sqlca: code: 0, state: 00000
 
--- 198,204 ---- [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_desc: reading items for tuple 2 [NO_PID]:
sqlca:code: 0, state: 00000
 
! [NO_PID]: ECPGget_data line 127: RESULT: 10303 offset: 1024 array: Yes [NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]:ECPGget_desc: reading items for tuple 3 [NO_PID]: sqlca: code: 0, state: 00000
 
*** expected/sql-dyntest2.stdout    Fri Aug  4 08:50:50 2006
--- results//sql-dyntest2.stdout    Fri Aug  4 10:12:23 2006
***************
*** 4,10 ****     = <"_RETURN">  2    ev_class (type: -26 length: -5 precision: -1 scale: 65531     octet_length: 4
returned_octet_length:5)
 
!     = <"10297">  3    ev_attr (type: 5 length: -5 precision: -1 scale: 65531     octet_length: 2
returned_octet_length:2)     = -1
 
--- 4,10 ----     = <"_RETURN">  2    ev_class (type: -26 length: -5 precision: -1 scale: 65531     octet_length: 4
returned_octet_length:5)
 
!     = <"10300">  3    ev_attr (type: 5 length: -5 precision: -1 scale: 65531     octet_length: 2
returned_octet_length:2)     = -1
 
***************
*** 22,28 ****     = <"_RETURN">  2    ev_class (type: -26 length: -5 precision: -1 scale: 65531     octet_length: 4
returned_octet_length:5)
 
!     = <"10300">  3    ev_attr (type: 5 length: -5 precision: -1 scale: 65531     octet_length: 2
returned_octet_length:2)     = -1
 
--- 22,28 ----     = <"_RETURN">  2    ev_class (type: -26 length: -5 precision: -1 scale: 65531     octet_length: 4
returned_octet_length:5)
 
!     = <"10303">  3    ev_attr (type: 5 length: -5 precision: -1 scale: 65531     octet_length: 2
returned_octet_length:2)     = -1
 


pgsql-hackers by date:

Previous
From: "Ralf S. Engelschall"
Date:
Subject: Re: [BUGS] Patch to allow C extension modules to initialize/finish
Next
From: Martijn van Oosterhout
Date:
Subject: Re: User-defined typle similar to char(length) varchar(length)