mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-24 07:17:00 +08:00
For non-SQL3 types ecpg used to return -Oid. This will break if there are enough Oids to fill the namespace. Therefore we play it safe and return 0 if there is no Oid->SQL3 tyoe mapping available.
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
Found 7 columns
|
|
1 name (type: 1 length: 14 precision: 0 scale: 14 = char(14))
|
|
octet_length: -1 returned_octet_length: 14)
|
|
= "first entry "
|
|
2 d (type: 8 length: -5 precision: -1 scale: 65531 = double precision)
|
|
octet_length: 8 returned_octet_length: 4)
|
|
= 14.700000
|
|
3 i (type: 4 length: -5 precision: -1 scale: 65531 = integer)
|
|
octet_length: 4 returned_octet_length: 2)
|
|
= 14
|
|
4 bignumber (type: 0 length: -5 precision: -1 scale: 65531 = <SQL3 0>)
|
|
octet_length: 8 returned_octet_length: 12)
|
|
= <"123045607890">
|
|
5 b (type: 16 length: -5 precision: -1 scale: 65531 = bool)
|
|
octet_length: 1 returned_octet_length: 1)
|
|
= true
|
|
6 comment (type: 1 length: -5 precision: -1 scale: 65531 = text)
|
|
octet_length: -1 returned_octet_length: 47)
|
|
= "The world's most advanced open source database."
|
|
7 day (type: 9 length: -5 precision: -1 scale: 65531 = date)
|
|
octet_length: 4 returned_octet_length: 10)
|
|
= 1 "14.07.1987"
|
|
1 name (type: 1 length: 14 precision: 0 scale: 14 = char(14))
|
|
octet_length: -1 returned_octet_length: 14)
|
|
= "second entry "
|
|
2 d (type: 8 length: -5 precision: -1 scale: 65531 = double precision)
|
|
octet_length: 8 returned_octet_length: 7)
|
|
= 1407.870000
|
|
3 i (type: 4 length: -5 precision: -1 scale: 65531 = integer)
|
|
octet_length: 4 returned_octet_length: 4)
|
|
= 1407
|
|
4 bignumber (type: 0 length: -5 precision: -1 scale: 65531 = <SQL3 0>)
|
|
octet_length: 8 returned_octet_length: 12)
|
|
= <"987065403210">
|
|
5 b (type: 16 length: -5 precision: -1 scale: 65531 = bool)
|
|
octet_length: 1 returned_octet_length: 1)
|
|
= false
|
|
6 comment (type: 1 length: -5 precision: -1 scale: 65531 = text)
|
|
octet_length: -1 returned_octet_length: 27)
|
|
= "The elephant never forgets."
|
|
7 day (type: 9 length: -5 precision: -1 scale: 65531 = date)
|
|
octet_length: 4 returned_octet_length: 10)
|
|
= 1 "05.11.1999"
|