This PR implements PostgreSQL macaddr and macaddr8 columns support as possible mixed affinity column in SQLite. The nearest affinity selected as integer because of there are many fast operations in SQLite including | and &.
After this PR sqlite_fdw will can deal with both 12-34-56-78-9A-BCtext , 0x0123456789ABCinteger and X'0123456789ABC'blob notations.
In this PR also:
all data type tests moved to subdirectory types instead of extra because of tests of different data types are majority of tests in extra subdirectory.
This PR implements PostgreSQL
macaddr
andmacaddr8
columns support as possible mixed affinity column in SQLite. The nearest affinity selected asinteger
because of there are many fast operations in SQLite including|
and&
. After this PRsqlite_fdw
will can deal with both12-34-56-78-9A-BC
text
,0x0123456789ABC
integer
andX'0123456789ABC'
blob
notations. In this PR also:types
instead ofextra
because of tests of different data types are majority of tests inextra
subdirectory.