mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	doc: clarify CREATE TABLE AS ... IF NOT EXISTS
Mention that the table is not modified if it already exists. Reported-by: frank_limpert@yahoo.com Discussion: https://postgr.es/m/164441177106.9677.5991676148704507229@wrigleys.postgresql.org Backpatch-through: 10
This commit is contained in:
		
							parent
							
								
									4d807bbc4b
								
							
						
					
					
						commit
						7d66ccee99
					
				| @ -100,9 +100,8 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI | ||||
|     <term><literal>IF NOT EXISTS</literal></term> | ||||
|     <listitem> | ||||
|      <para> | ||||
|       Do not throw an error if a relation with the same name already exists. | ||||
|       A notice is issued in this case. Refer to <xref linkend="sql-createtable"/> | ||||
|       for details. | ||||
|       Do not throw an error if a relation with the same name already | ||||
|       exists; simply issue a notice and leave the table unmodified. | ||||
|      </para> | ||||
|     </listitem> | ||||
|    </varlistentry> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user