1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-04 22:14:37 +02:00
2025-02-19 09:40:28 +03:00

5 lines
1.1 KiB
Plaintext
Vendored

oint postgres AddRecords \
--table "testtable" \
--rows "[{'bool_field':{'BOOL':true},'oldchar_field':{'OLDCHAR':1},'smallint_field':{'SMALLINT':5},'smallserial_field':{'SMALLSERIAL':6},'int_field':{'INT':100},'serial_field':{'SERIAL':100},'oid_field':{'OID':24576},'bigint_field':{'BIGINT':9999999},'bigserial_field':{'BIGSERIAL':9999999},'real_field':{'REAL':15.2},'dp_field':{'DOUBLE_PRECISION':1.0002},'text_field':{'TEXT':'Some text'},'varchar_field':{'VARCHAR':'Some varchar'},'charn_field':{'CHAR':'AAA'},'char_field':{'CHAR':'A'},'name_field':{'NAME':'Vitaly'},'bytea_field':{'BYTEA':'C:\\Users\\Administrator\\AppData\\Local\\Temp\\tmeaid4ghzz.tmp'},'ts_field':{'TIMESTAMP':'2025-02-19T08:52:02.2467387Z'},'tswtz_field':{'TIMESTAMP_WITH_TIME_ZONE':'2025-02-19T08:52:02.2467387+05:00'},'ip_field':{'INET':'127.0.0.1'},'json_field':{'JSON':{'key':'***','value':10}},'jsonb_field':{'JSONB':{'key':'***','value':10}},'date_field':{'DATE':'2025-02-19T08:52:02.2467387Z'},'time_field':{'TIME':'2025-02-19T08:52:02.2467387Z'},'uuid_field':{'UUID':'f13caa3e-c099-4e05-8d94-0b66527d87c3'}}]" \
--trn true \
--dbc "postgresql://bayselonarrend:***@127.0.0.1:5432/"