Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    PostgresMain switch.  In point of fact, FrontendProtocol is already set
    in a backend process, since ProcessStartupPacket() is executed inside
    the backend --- it hasn't been run by the postmaster for many years.
    And if it were, we'd still certainly want FrontendProtocol to be set before
    we get as far as PostgresMain, so that startup errors get reported in the
    right protocol.
    
    -v might have some future use in standalone backends, so I didn't go so
    far as to remove the switch outright.
    
    Also, initialize FrontendProtocol to 0 not PG_PROTOCOL_LATEST.  The only
    likely result of presetting it like that is to mask failure-to-set-it
    mistakes.
    0a00c9a8
    History
    Name Last commit Last update