QuerySet.bulk_create() crashes on "pk" in unique_fields.
    
    
    
      
      
      
        
QuerySet.bulk_create() crashes on "pk" in unique_fields which should be allowed.
  File "/django/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column "pk" does not exist
LINE 1: ...S (3127, 3, 3, 'c'), (3128, 4, 4, 'd') ON CONFLICT("pk") DO ...
Bug in 0f6946495a8ec955b471ca1baaf408ceb53d4796.
       
     
   
 
      
        
        
          Change History
          (5)
        
          
          
  
  
  
    
      | Description: | 
      
        modified (diff)
       | 
    
  
 
           
          
  
  
  
    
      | Triage Stage: | 
      
        Unreviewed → Ready for checkin
       | 
    
  
 
           
          
  
  
  
    
      | Resolution: | 
      
        → fixed
       | 
    
    
      | Status: | 
      
        assigned → closed
       | 
    
  
 
           
          
          
         
       
     
        
    
    
PR