зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-02 22:56:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			20 строки
		
	
	
		
			424 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 строки
		
	
	
		
			424 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/
 |