зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-31 21:56:08 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			22 строки
		
	
	
		
			462 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 строки
		
	
	
		
			462 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| schemas
 | |
|     pg_toast, pg_toast_temp_NNN
 | |
| 
 | |
| select relname, relfilenode from pg_class where oid = (
 | |
|     select reltoastrelid from pg_class where relname = <tblname>
 | |
| );
 | |
| relname:      pg_toast_NNN
 | |
| relfilenode:  <NNNN>
 | |
| 
 | |
| \d+ <tblname>
 | |
| strategy
 | |
|     * plain
 | |
|     * main
 | |
|     * extended
 | |
|     * external
 | |
| alter table <tblname> alter column <columnname> set storage <storagename>;
 | |
| 
 | |
| 2023
 | |
| https://habr.com/ru/company/postgrespro/blog/710104/
 | |
| 2022
 | |
| https://eax.me/postgresql-toast/
 | 
