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

thread.c

  • Bruce Momjian's avatar
    b76c536e
    > (I also see some post-7.4.1 changes in src/template/solaris, so you · b76c536e
    Bruce Momjian authored
    > possibly should look there too.)
    [snip]
    >
    
    I think I have the fix for part of it, but this remains...
    
        gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
        -Wmissing-declarations -fPIC -I. -I../../../src/include
        -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND
        -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o thread.o thread.c
        thread.c: In function `pqGethostbyname':
        thread.c:189: error: `resbuf' undeclared (first use in this
    function)
    
    Looking at src/port/thread.c, line 189, it looks like somebody typo'd.
    Looks like that second parameter should be "resultbuf", not "resbuf"?
    
    Jim Seymour
    b76c536e
    History
    > (I also see some post-7.4.1 changes in src/template/solaris, so you
    Bruce Momjian authored
    > possibly should look there too.)
    [snip]
    >
    
    I think I have the fix for part of it, but this remains...
    
        gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
        -Wmissing-declarations -fPIC -I. -I../../../src/include
        -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND
        -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o thread.o thread.c
        thread.c: In function `pqGethostbyname':
        thread.c:189: error: `resbuf' undeclared (first use in this
    function)
    
    Looking at src/port/thread.c, line 189, it looks like somebody typo'd.
    Looks like that second parameter should be "resultbuf", not "resbuf"?
    
    Jim Seymour