• Bruce Momjian's avatar
    Rod's patch does what it is supposed to do, but it also includes · 7603c42e
    Bruce Momjian authored
    some old code to add PK constraints to CREATE TABLE. That stuff
    had been removed as part of my original patch for pg_dump a
    little while ago.
    
    The attached patch fixes this by removing (again :-) ) the
    code in dumpTables() to perform PK creation during CREATE
    TABLE. I briefly tested it locally and it fixes both of
    Tom's test cases.
    
    Please apply.
    
    Cheers,
    
    Neil
    
    --
    Neil Conway <neilconway@rogers.com>
    7603c42e
pg_dump.c 136 KB