From 5963a92af298167ea89332ba7275492271e6854c Mon Sep 17 00:00:00 2001 From: Lim Ding Wen Date: Wed, 7 Aug 2024 18:35:04 +0800 Subject: [PATCH] Fix SQL IntelliJ options in README --- .idea/dataSources.local.xml | 9 +- .../13d5cdcb-1ad5-408a-bb19-46407f4e002e.xml | 1187 +++++------------ .idea/sqldialects.xml | 1 + 3 files changed, 346 insertions(+), 851 deletions(-) diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml index 3f52b6b..2ca42fc 100644 --- a/.idea/dataSources.local.xml +++ b/.idea/dataSources.local.xml @@ -10,8 +10,13 @@ postgres.dcumfcshvsrrtkujjmvp - - + + + + + + + diff --git a/.idea/dataSources/13d5cdcb-1ad5-408a-bb19-46407f4e002e.xml b/.idea/dataSources/13d5cdcb-1ad5-408a-bb19-46407f4e002e.xml index 753e181..de86971 100644 --- a/.idea/dataSources/13d5cdcb-1ad5-408a-bb19-46407f4e002e.xml +++ b/.idea/dataSources/13d5cdcb-1ad5-408a-bb19-46407f4e002e.xml @@ -11,7 +11,7 @@ 29042||-9223372036854775808|T|G 29042||10|T|G 29042||16595|T|G - 89333 + 89820 15.1 1722349334 true ACDT @@ -1508,7 +1508,7 @@ true posixrules 29445||16732|C|G 29445||16420|U|G 29445||16732|U|G - 89333 + 89820 29042 postgres @@ -5363,6 +5363,61 @@ idle_in_transaction_session_timeout=60000 supabase_admin + 1 + 29046||-9223372036854775808|r|G +29046||16420|r|G +29046||16420|w|G +29046||16420|U|G +29047||16420|d|G +29047||16420|a|G +29047||16420|x|G +29047||-9223372036854775808|r|G +29047||16420|r|G +29047||10|r|O +29047||16420|t|G +29047||16420|D|G +29047||16420|w|G +29060||-9223372036854775808|X|G +29060||16420|X|G +29060||10|X|O +29061||-9223372036854775808|X|G +29061||16420|X|G +29061||10|X|O +29062||-9223372036854775808|X|G +29062||16420|X|G +29062||10|X|O +29065||-9223372036854775808|r|G +29065||16420|r|G +29065||16420|w|G +29065||16420|U|G +29066||-9223372036854775808|d|G +29066||16420|d|G +29066||10|d|O +29066||16420|a|G +29066||10|a|O +29066||16420|x|G +29066||10|x|O +29066||-9223372036854775808|r|G +29066||16420|r|G +29066||10|r|O +29066||16420|t|G +29066||10|t|O +29066||16420|D|G +29066||10|D|O +29066||16420|w|G +29066||10|w|O +29079||-9223372036854775808|X|G +29079||16420|X|G +29079||10|X|O +29080||16420|X|G +29080||10|X|O +29081||16420|X|G +29081||10|X|O +29091||-9223372036854775808|X|G +29091||16420|X|G +29091||10|X|O + 89820 + 2024-08-07.10:34:45 29045 1866 supabase_admin @@ -5415,7 +5470,6 @@ idle_in_transaction_session_timeout=60000 standard public schema - 1 29785||10|d|G 29785||16478|d|G 29785||16479|d|G @@ -5998,976 +6052,411 @@ idle_in_transaction_session_timeout=60000 ALTER TABLE 29325 - - 39658 - 402 - 89283 - postgres - - - view_name text - search_path="" - 37488 - void + + Alter the job identified by job_id. Any option left as NULL will not be modified. + 1.0 + 29080 0.0 - 67 - 89265 - plpgsql - postgres + 1866 + c + supabase_admin - - bigint|0s - 29791 - 1 - 1 - 1624 - postgres - - - bigint|0s - 29814 - 1 - 1 - 1629 - postgres - - - bigint|0s - 29821 - 1 - 1 - 1631 - postgres - - - bigint|0s - 29822 - 1 - 1 - 1632 - postgres - - - bigint|0s - 29823 - 1 - 1 - 1633 - postgres - - - bigint|0s - 29830 - 1 - 1 - 1635 - postgres - - + + invalidate job cache + 1.0 + 29062 + pg-trigger + 0.0 + 1866 + c + supabase_admin + + + schedule a pg_cron job + 1.0 + 29060 + 0.0 + 1866 + 1 + c + supabase_admin + + + schedule a pg_cron job + 1.0 + 29079 + 0.0 + 1866 + c + supabase_admin + + + schedule a pg_cron job + 1.0 + 29081 + 0.0 + 1866 + c + supabase_admin + + + unschedule a pg_cron job + 1.0 + 29061 + 0.0 + 1866 + 1 + c + supabase_admin + + + unschedule a pg_cron job + 1.0 + 29091 + 0.0 + 1866 + 1 + c + supabase_admin + + bigint|0s - 29841 + 29046 1 1 - 1638 - postgres + 1123 + supabase_admin - + bigint|0s - 29842 + 29065 1 1 - 1639 - postgres + 1123 + supabase_admin - - 29785 - 1623 - 2 - postgres -
- - 29808 - 1628 - 2 - postgres -
- - 29815 - 32204 - 2 - postgres -
- - 29792 - 1625 - 2 - postgres -
- - 29798 - 1626 - 2 - postgres -
- - 29824 - 1634 +
+ 29047 + 18842 - postgres -
- - Extra information that can only be scraped from the actual report. - 29831 - 1636 - 2 - postgres + supabase_admin
- - 29837 - 1637 +
+ 29066 + 18662 - postgres + supabase_admin
- - 39256 - 218 - 89206 - postgres - - - 35086 - 123 - 32228 - postgres - - - 30594 - 191 - 1923 - postgres - - - 39280 - 260 - 89209 - postgres - - - 29843 - 164 - 1640 - postgres - - - bigint|0s - 1 - 89283 - - - bigint|0s - 2 - 89283 - - - boolean|0s - 3 - 89283 - - + R void|0s - - text|0s - 1 - - + bigint|0s - by-default - 1 1 - 1282 - 29791 - 20 - - - timestamp with time zone|0s - now() - 1 + + + text|0s + NULL::text 2 - 1280 - 1184 - - + + text|0s - 1 + NULL::text 3 - 1280 - 25 - - - date|0s - 1 + + + text|0s + NULL::text 4 - 1280 - 1082 - - + + text|0s - 1 + NULL::text 5 - 1280 - 25 - - - date|0s - 6 - 1280 - 1082 - - + + boolean|0s - 1 - 7 - 1280 - 16 - - - date|0s - 8 - 1280 - 1082 - - + NULL::boolean + 6 + + + R + trigger|0s + + + R + bigint|0s + + text|0s - 1 - 9 - 1280 - 25 - - + 1 + + text|0s - 1 - 10 - 1280 - 25 - - + 2 + + + R + bigint|0s + + text|0s - 11 - 1280 - 25 - - + 1 + + text|0s - 12 - 1280 - 25 - - - id - 29947 - 1 - 1356 - 1 - 403 - - - bill_no - 1 - 29949 - 1357 - 1 - 403 - default - 100 - pg_catalog - - - 29948 - 1 - 1356 - 29947 - - - 1 - 29950 - 1357 - 29949 - - - 30148 - select - 1 - 1465 - true - - + 2 + + + text|0s + 3 + + + R bigint|0s - by-default - 1 + + + text|0s 1 - 1291 - 29814 - 20 - - - timestamp with time zone|0s - now() - 1 + + + text|0s 2 - 1289 - 1184 - - - bigint|0s - 1 + + + text|0s 3 - 1289 - 20 - - + + text|0s - 1 4 - 1289 - 25 - - + + text|0s + NULL::text + 5 + + + boolean|0s + true 6 - 1289 - 25 - - - bigint|0s - 1 - 7 - 1289 - 20 - - - sitting_id - 1 - 30098 - cascade - cascade - 1439 - 1 - 29831 - - - id - 1 - 29951 - 1 - 1358 - 1 - 403 - - - 1 - 29952 - 1 - 1358 - 29951 - - - 30149 - select - 1 - 1466 - true - - + + + R + boolean|0s + + bigint|0s - by-default - 1 1 - 1295 - 29821 - 20 - - - timestamp with time zone|0s - now() - 1 - 2 - 1292 - 1184 - - - bigint|0s - 1 - 3 - 1292 - 20 - - - text|0s - 1 - 5 - 1292 - 25 - - - bigint|0s - 1 - 6 - 1292 - 20 - - - The speaker name as detected in the content, without the honorifics. Trimmed. Used to enable dynamic name aliasing. + + + R + boolean|0s + + text|0s - 7 - 1292 - 25 - - - debate_id - 1 - 30103 - cascade - cascade - 1440 - 1 - 29808 - - - id - 1 - 29953 - 1 - 1359 - 1 - 403 - - - 1 - 29954 - 1 - 1359 - 29953 - - - 30150 - select - 1 - 1467 - true - - + 1 + + bigint|0s - by-default + nextval('jobid_seq'::regclass) 1 1 - 1297 - 29823 + 1123 20 - - timestamp with time zone|0s - now() + + text|0s 1 2 - 1283 - 1184 + 1123 + 25 - + text|0s + 1 3 - 1283 + 1123 25 - - date|0s + + text|0s + 'localhost'::text + 1 4 - 1283 - 1082 + 1123 + 25 - - text|0s + + integer|0s + inet_server_port() + 1 5 - 1283 - 25 + 1123 + 23 - + text|0s + current_database() + 1 6 - 1283 + 1123 25 - + text|0s + CURRENT_USER + 1 7 - 1283 + 1123 25 - - text|0s + + boolean|0s + true 1 8 - 1283 - 25 - - - bigint|0s - 9 - 1283 - 20 - - - text|0s - 10 - 1283 - 25 + 1123 + 16 - + text|0s - 1 - 11 - 1283 + 9 + 1123 25 - - party_id + + jobid 1 - 30118 - set-null - cascade - 1443 - 1 - 29824 - - - id - 1 - 29957 + 29057 1 - 1361 + 1123 1 403 - - wikidata_id - 1 - 29959 - 1362 + + jobname +username + 29082 + 1123 1 403 - default - 100 - pg_catalog + 100 +100 + default +default + pg_catalog +pg_catalog - + 1 - 29958 + 29058 1 - 1361 - 29957 + 1123 + 29057 - - 1 - 29960 - 1362 - 29959 + + 29083 + 1123 + 29082 - - 30151 - select + + 29059 1 - 1468 - true + 1123 + (username = CURRENT_USER) - + + IUDT + 29063 + 1726 + after-stmt + 29062 + + bigint|0s - by-default - 1 1 - 1296 - 29822 + 1123 20 - - timestamp with time zone|0s - now() - 1 - 2 - 1285 - 1184 - - + bigint|0s - 1 - 3 - 1285 - 20 - - - text|0s - 1 - 4 - 1285 - 25 - - - mp_id - 1 - 30113 - cascade - 1442 - 1 - 29792 - - - id - 1 - 29955 - 1 - 1360 - 1 - 403 - - - 1 - 29956 - 1 - 1360 - 29955 - - - 30152 - select - 1 - 1469 - true - - - bigint|0s - by-default - 1 - 1 - 1300 - 29830 - 20 - - - timestamp with time zone|0s - now() + nextval('runid_seq'::regclass) 1 2 - 1298 - 1184 + 1123 + 20 - - text|0s - 1 + + integer|0s 3 - 1298 - 25 + 1123 + 23 - + text|0s - 1 4 - 1298 + 1123 25 - + text|0s 5 - 1298 + 1123 25 - + text|0s - 1 6 - 1298 + 1123 25 - - id - 1 - 29961 - 1 - 1363 - 1 - 403 - - - wikidata_id - 1 - 29963 - 1364 - 1 - 403 - default - 100 - pg_catalog - - - 1 - 29962 - 1 - 1363 - 29961 - - - 1 - 29964 - 1364 - 29963 - - - 30153 - select - 1 - 1470 - true - - - bigint|0s - by-default - 1 - 1 - 1307 - 29842 - 20 - - - timestamp with time zone|0s - now() - 1 - 2 - 1301 - 1184 - - - bigint|0s - 1 - 3 - 1301 - 20 - - - bigint|0s - 1 - 4 - 1301 - 20 - - - bigint|0s - 1 - 5 - 1301 - 20 - - - bigint|0s - 1 - 6 - 1301 - 20 - - - bigint|0s - 1 + + text|0s 7 - 1301 - 20 + 1123 + 25 - + text|0s 8 - 1301 + 1123 25 - - sitting_date_id - 30123 - cascade - cascade - 1444 - 1 - 29837 - - - id - 29965 - 1 - 1365 - 1 - 403 - - - sitting_date_id - 29967 - 1366 - 1 - 403 - - - 29966 - 1 - 1365 - 29965 - - - 29968 - 1366 - 29967 - - - 30154 - select - 1 - 1471 - true - - - bigint|0s - by-default - 1 - 1 - 1306 - 29841 - 20 - - + timestamp with time zone|0s - now() - 1 - 2 - 1304 + 9 + 1123 1184 - - date|0s - 1 - 3 - 1304 - 1082 + + timestamp with time zone|0s + 10 + 1123 + 1184 - - id - 29969 + + runid + 1 + 29072 1 - 1367 - 1 - 403 - - - sitting_date - 29971 - 1368 + 1123 1 403 - - 29970 + + 1 + 29073 1 - 1367 - 29969 - - - 29972 - 1368 - 29971 + 1123 + 29072 - - 30155 - select + + 29074 1 - 1472 - true + 1123 + (username = CURRENT_USER) - - text|0s - 1 - 89206 - - - text|0s - 2 - 89206 - - - text|0s - 3 - 89206 - - - bigint|0s - 1 - 32228 - - - text|0s - 2 - 32228 - - - text|0s - 3 - 32228 - - - bigint|0s - 1 - 1923 - - - text|0s - 2 - 1923 - - - bigint|0s - 3 - 1923 - - - text|0s - 4 - 1923 - - - date|0s - 5 - 1923 - - - bigint|0s - 1 - 89209 - - - text|0s - 2 - 89209 - - - text|0s - 3 - 89209 - - - bigint|0s - 1 - 1308 - - - timestamp with time zone|0s - 2 - 1308 - - - date|0s - 3 - 1308 - \ No newline at end of file diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml index 4c0a926..99c3344 100644 --- a/.idea/sqldialects.xml +++ b/.idea/sqldialects.xml @@ -1,6 +1,7 @@ + \ No newline at end of file