On Feb 15, 2021, at 8:44 AM, Martin Bowes <martin.bowes@ndph.ox.ac.uk> wrote:What Marty said.
Is this what you want?
select varchar(t1.table_name, 32) as partition, varchar(t2.table_name, 32) as parent
from iitables t1 join iitables t2 on t1.table_reltid = t2.table_reltid and t2.table_reltidx = 0
where t1.table_type = 'P'
-----Original Message-------- Synchronet 3.21b-Linux NewsLink 1.2
From: Roy Hann <specially@processed.almost.meat>
Sent: 15 February 2021 13:12
To: info-ingres@lists.planetingres.org
Subject: [Info-ingres] Files underlying partitioned tables
I can locate the files belonging to table_type = 'P' tables using iifile_info in the usual way. The ingredient I am missing is a convenient way to relate a logical (table_type = 'T') table to its P tables.
Anyone able to assist?
Roy
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org https://lists.planetingres.org/mailman/listinfo/info-ingres _______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org https://lists.planetingres.org/mailman/listinfo/info-ingres
Is this what you want?
select varchar(t1.table_name, 32) as partition, varchar(t2.table_name, 32) as parent
from iitables t1 join iitables t2 on t1.table_reltid = t2.table_reltid and t2.table_reltidx = 0
where t1.table_type = 'P'
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 19:24:19 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
10 files (21,017K bytes) |
| Messages: | 193,978 |