@@ -1402,145 +1402,10 @@ struct TCatalog {
1402
1402
" lo_unlink"
1403
1403
}),
1404
1404
StaticTables ({
1405
- {{" pg_catalog" , " pg_type" }, ERelKind::Relation, TypeRelationOid},
1406
- {{" pg_catalog" , " pg_database" }, ERelKind::Relation, DatabaseRelationOid},
1407
- {{" pg_catalog" , " pg_tablespace" }, ERelKind::Relation, TableSpaceRelationOid},
1408
- {{" pg_catalog" , " pg_shdescription" }, ERelKind::Relation, SharedDescriptionRelationOid},
1409
- {{" pg_catalog" , " pg_trigger" }, ERelKind::Relation, TriggerRelationOid},
1410
- {{" pg_catalog" , " pg_locks" }, ERelKind::View, 10000 },
1411
- {{" pg_catalog" , " pg_stat_gssapi" }, ERelKind::View, 10001 },
1412
- {{" pg_catalog" , " pg_inherits" }, ERelKind::Relation, InheritsRelationOid},
1413
- {{" pg_catalog" , " pg_stat_activity" }, ERelKind::View, 10002 },
1414
- {{" pg_catalog" , " pg_timezone_names" }, ERelKind::View, 10003 },
1415
- {{" pg_catalog" , " pg_timezone_abbrevs" }, ERelKind::View, 10004 },
1416
- {{" pg_catalog" , " pg_tables" }, ERelKind::View, 10005 },
1417
- {{" pg_catalog" , " pg_description" }, ERelKind::Relation, DescriptionRelationOid},
1418
- {{" pg_catalog" , " pg_am" }, ERelKind::Relation, AccessMethodRelationOid},
1419
- {{" pg_catalog" , " pg_namespace" }, ERelKind::Relation, NamespaceRelationOid},
1420
- {{" pg_catalog" , " pg_auth_members" }, ERelKind::Relation, AuthMemRelationOid},
1421
- {{" pg_catalog" , " pg_roles" }, ERelKind::View, 10006 },
1422
- {{" pg_catalog" , " pg_stat_database" }, ERelKind::View, 10007 },
1423
- {{" pg_catalog" , " pg_class" }, ERelKind::Relation, RelationRelationOid},
1424
- {{" information_schema" , " tables" }, ERelKind::View, 10008 },
1425
- {{" information_schema" , " columns" }, ERelKind::View, 10009 },
1426
- {{" information_schema" , " table_constraints" }, ERelKind::View, 10010 },
1405
+ #include " pg_class.generated.h"
1427
1406
}),
1428
1407
AllStaticColumns ({
1429
- {" pg_catalog" , " pg_type" , " oid" , " oid" },
1430
- {" pg_catalog" , " pg_type" , " typname" , " name" },
1431
- {" pg_catalog" , " pg_type" , " typinput" , " regproc" },
1432
- {" pg_catalog" , " pg_type" , " typnamespace" , " oid" },
1433
- {" pg_catalog" , " pg_type" , " typtype" , " char" },
1434
-
1435
- {" pg_catalog" , " pg_database" , " oid" , " oid" },
1436
- {" pg_catalog" , " pg_database" , " datname" , " name" },
1437
- {" pg_catalog" , " pg_database" , " encoding" , " int4" },
1438
- {" pg_catalog" , " pg_database" , " datallowconn" , " bool" },
1439
- {" pg_catalog" , " pg_database" , " datistemplate" , " bool" },
1440
- {" pg_catalog" , " pg_database" , " datdba" , " oid" },
1441
-
1442
- {" pg_catalog" , " pg_tablespace" , " oid" , " oid" },
1443
- {" pg_catalog" , " pg_tablespace" , " spcname" , " name" },
1444
-
1445
- {" pg_catalog" , " pg_shdescription" , " objoid" , " oid" },
1446
- {" pg_catalog" , " pg_shdescription" , " classoid" , " oid" },
1447
- {" pg_catalog" , " pg_shdescription" , " description" , " text" },
1448
-
1449
- {" pg_catalog" , " pg_trigger" , " tgrelid" , " oid" },
1450
- {" pg_catalog" , " pg_trigger" , " tgenabled" , " char" },
1451
-
1452
- {" pg_catalog" , " pg_locks" , " transactionid" , " xid" },
1453
-
1454
- {" pg_catalog" , " pg_stat_gssapi" , " encrypted" , " bool" },
1455
- {" pg_catalog" , " pg_stat_gssapi" , " gss_authenticated" , " bool" },
1456
- {" pg_catalog" , " pg_stat_gssapi" , " pid" , " int4" },
1457
-
1458
- {" pg_catalog" , " pg_inherits" , " inhrelid" , " oid" },
1459
- {" pg_catalog" , " pg_inherits" , " inhparent" , " oid" },
1460
-
1461
- {" pg_catalog" , " pg_stat_activity" , " application_name" , " text" },
1462
- {" pg_catalog" , " pg_stat_activity" , " backend_start" , " timestamptz" },
1463
- {" pg_catalog" , " pg_stat_activity" , " backend_type" , " text" },
1464
- {" pg_catalog" , " pg_stat_activity" , " client_addr" , " inet" },
1465
- {" pg_catalog" , " pg_stat_activity" , " datname" , " name" },
1466
- {" pg_catalog" , " pg_stat_activity" , " pid" , " int4" },
1467
- {" pg_catalog" , " pg_stat_activity" , " query" , " text" },
1468
- {" pg_catalog" , " pg_stat_activity" , " query_start" , " timestamptz" },
1469
- {" pg_catalog" , " pg_stat_activity" , " state" , " text" },
1470
- {" pg_catalog" , " pg_stat_activity" , " state_change" , " timestamptz" },
1471
- {" pg_catalog" , " pg_stat_activity" , " usename" , " name" },
1472
- {" pg_catalog" , " pg_stat_activity" , " wait_event" , " text" },
1473
- {" pg_catalog" , " pg_stat_activity" , " wait_event_type" , " text" },
1474
- {" pg_catalog" , " pg_stat_activity" , " xact_start" , " timestamptz" },
1475
-
1476
- {" pg_catalog" , " pg_timezone_names" , " name" , " text" },
1477
- {" pg_catalog" , " pg_timezone_names" , " is_dst" , " bool" },
1478
-
1479
- {" pg_catalog" , " pg_timezone_abbrevs" , " abbrev" , " text" },
1480
- {" pg_catalog" , " pg_timezone_abbrevs" , " is_dst" , " bool" },
1481
-
1482
- {" pg_catalog" , " pg_tables" , " schemaname" , " name" },
1483
- {" pg_catalog" , " pg_tables" , " tablename" , " name" },
1484
-
1485
- {" pg_catalog" , " pg_description" , " objoid" , " oid" },
1486
- {" pg_catalog" , " pg_description" , " classoid" , " oid" },
1487
- {" pg_catalog" , " pg_description" , " objsubid" , " int4" },
1488
- {" pg_catalog" , " pg_description" , " description" , " text" },
1489
-
1490
- {" pg_catalog" , " pg_am" , " oid" , " oid" },
1491
- {" pg_catalog" , " pg_am" , " amname" , " name" },
1492
- {" pg_catalog" , " pg_am" , " amtype" , " char" },
1493
-
1494
- {" pg_catalog" , " pg_namespace" , " nspname" , " name" },
1495
- {" pg_catalog" , " pg_namespace" , " oid" , " oid" },
1496
-
1497
- {" pg_catalog" , " pg_auth_members" , " roleid" , " oid" },
1498
- {" pg_catalog" , " pg_auth_members" , " member" , " oid" },
1499
- {" pg_catalog" , " pg_auth_members" , " grantor" , " oid" },
1500
- {" pg_catalog" , " pg_auth_members" , " admin_option" , " bool" },
1501
-
1502
- {" pg_catalog" , " pg_roles" , " rolname" , " name" },
1503
- {" pg_catalog" , " pg_roles" , " oid" , " oid" },
1504
- {" pg_catalog" , " pg_roles" , " rolbypassrls" , " bool" },
1505
- {" pg_catalog" , " pg_roles" , " rolcanlogin" , " bool" },
1506
- {" pg_catalog" , " pg_roles" , " rolconfig" , " _text" },
1507
- {" pg_catalog" , " pg_roles" , " rolconnlimit" , " int4" },
1508
- {" pg_catalog" , " pg_roles" , " rolcreatedb" , " bool" },
1509
- {" pg_catalog" , " pg_roles" , " rolcreaterole" , " bool" },
1510
- {" pg_catalog" , " pg_roles" , " rolinherit" , " bool" },
1511
- {" pg_catalog" , " pg_roles" , " rolreplication" , " bool" },
1512
- {" pg_catalog" , " pg_roles" , " rolsuper" , " bool" },
1513
- {" pg_catalog" , " pg_roles" , " rolvaliduntil" , " timestamptz" },
1514
-
1515
- {" pg_catalog" , " pg_stat_database" , " datid" , " oid" },
1516
- {" pg_catalog" , " pg_stat_database" , " blks_hit" , " int8" },
1517
- {" pg_catalog" , " pg_stat_database" , " blks_read" , " int8" },
1518
- {" pg_catalog" , " pg_stat_database" , " tup_deleted" , " int8" },
1519
- {" pg_catalog" , " pg_stat_database" , " tup_fetched" , " int8" },
1520
- {" pg_catalog" , " pg_stat_database" , " tup_inserted" , " int8" },
1521
- {" pg_catalog" , " pg_stat_database" , " tup_returned" , " int8" },
1522
- {" pg_catalog" , " pg_stat_database" , " tup_updated" , " int8" },
1523
- {" pg_catalog" , " pg_stat_database" , " xact_commit" , " int8" },
1524
- {" pg_catalog" , " pg_stat_database" , " xact_rollback" , " int8" },
1525
-
1526
- {" pg_catalog" , " pg_class" , " oid" , " oid" },
1527
- {" pg_catalog" , " pg_class" , " relispartition" , " bool" },
1528
- {" pg_catalog" , " pg_class" , " relkind" , " char" },
1529
- {" pg_catalog" , " pg_class" , " relname" , " name" },
1530
- {" pg_catalog" , " pg_class" , " relnamespace" , " oid" },
1531
- {" pg_catalog" , " pg_class" , " relowner" , " oid" },
1532
-
1533
- {" information_schema" , " tables" , " table_schema" , " name" },
1534
- {" information_schema" , " tables" , " table_name" , " name" },
1535
-
1536
- {" information_schema" , " columns" , " table_schema" , " name" },
1537
- {" information_schema" , " columns" , " table_name" , " name" },
1538
- {" information_schema" , " columns" , " column_name" , " name" },
1539
- {" information_schema" , " columns" , " udt_name" , " name" },
1540
-
1541
- {" information_schema" , " table_constraints" , " constraint_schema" , " name" },
1542
- {" information_schema" , " table_constraints" , " table_name" , " name" },
1543
- {" information_schema" , " table_constraints" , " constraint_type" , " varchar" },
1408
+ #include " columns.generated.h"
1544
1409
})
1545
1410
{
1546
1411
THashSet<ui32> usedTableOids;
0 commit comments