Thread

Commits

  1. Remove unused variables.

  1. Vintage unused variables in pg_dump.c

    Daniel Gustafsson <daniel@yesql.se> — 2020-05-18T15:04:02Z

    Unless I'm missing something, the g_comment_start and g_comment_end variables
    in pg_dump.c seems to have been unused since 30ab5bd43d8f2082659191 (in the 7.2
    cycle) and can probably be safely removed by now.  The attached passes make
    check.
    
    cheers ./daniel
    
    
  2. Re: Vintage unused variables in pg_dump.c

    Tom Lane <tgl@sss.pgh.pa.us> — 2020-05-18T17:22:38Z

    Daniel Gustafsson <daniel@yesql.se> writes:
    > Unless I'm missing something, the g_comment_start and g_comment_end variables
    > in pg_dump.c seems to have been unused since 30ab5bd43d8f2082659191 (in the 7.2
    > cycle) and can probably be safely removed by now.
    
    Indeed.  (Well, I didn't verify your statement about when they were
    last used, but they're clearly dead now.)  Pushed.
    
    			regards, tom lane