You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(17) |
Jun
(3) |
Jul
|
Aug
|
Sep
(8) |
Oct
(18) |
Nov
(51) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(47) |
Feb
(44) |
Mar
(44) |
Apr
(102) |
May
(35) |
Jun
(25) |
Jul
(56) |
Aug
(69) |
Sep
(32) |
Oct
(37) |
Nov
(31) |
Dec
(16) |
2012 |
Jan
(34) |
Feb
(127) |
Mar
(218) |
Apr
(252) |
May
(80) |
Jun
(137) |
Jul
(205) |
Aug
(159) |
Sep
(35) |
Oct
(50) |
Nov
(82) |
Dec
(52) |
2013 |
Jan
(107) |
Feb
(159) |
Mar
(118) |
Apr
(163) |
May
(151) |
Jun
(89) |
Jul
(106) |
Aug
(177) |
Sep
(49) |
Oct
(63) |
Nov
(46) |
Dec
(7) |
2014 |
Jan
(65) |
Feb
(128) |
Mar
(40) |
Apr
(11) |
May
(4) |
Jun
(8) |
Jul
(16) |
Aug
(11) |
Sep
(4) |
Oct
(1) |
Nov
(5) |
Dec
(16) |
2015 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(5) |
May
(4) |
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: David E. W. <da...@ju...> - 2014-01-31 17:09:06
|
On Jan 30, 2014, at 8:19 PM, Ashutosh Bapat <ash...@en...> wrote: > Further to the answer by Suzuki: We were waiting for 9.3 PG to be merged in XC, so that the mac compilation patch can be applied to the XC master branch. Now that the merger is done, we will take this up. Got a link to the patch I can pull down and apply to the 1.1 tarball? Thanks, David |
From: Michael P. <mic...@gm...> - 2014-01-31 04:23:48
|
On Fri, Jan 31, 2014 at 1:19 PM, Ashutosh Bapat <ash...@en...> wrote: > Hi David, > Further to the answer by Suzuki: We were waiting for 9.3 PG to be merged in > XC, so that the mac compilation patch can be applied to the XC master > branch. Now that the merger is done, we will take this up. Just sayin', this error is in GTM code... -- Michael |
From: Ashutosh B. <ash...@en...> - 2014-01-31 04:19:59
|
Hi David, Further to the answer by Suzuki: We were waiting for 9.3 PG to be merged in XC, so that the mac compilation patch can be applied to the XC master branch. Now that the merger is done, we will take this up. On Fri, Jan 31, 2014 at 7:02 AM, Koichi Suzuki <koi...@gm...>wrote: > Yes, we do have this problem and a patch was submitted. There > should be related mailing list thread on this. Will let you know > when I locate the thread. > > Thank you ; > --- > Koichi Suzuki > > > 2014-01-31 David E. Wheeler <da...@ju...>: > > XCers, > > > > I tried to build 1.1 on my Mac, but it wasn't happy trying to build > libpq. Details: > > > > $ uname -a > > Darwin dwhee-ma-2944 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 > 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 > > > > $ gcc --version > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > > Target: x86_64-apple-darwin13.0.0 > > Thread model: posix > > > > $ ./configure --with-bonjour --with-perl PERL=$PERL \ > >> --with-openssl --with-pam --with-krb5 --with-libxml \ > >> --with-ossp-uuid --with-includes=/usr/local/include \ > >> --enable-integer-datetimes --with-zlib \ > >> --with-libs=/usr/local/lib --prefix=$BASE || exit $? > > checking build system type... x86_64-apple-darwin13.0.0 > > checking host system type... x86_64-apple-darwin13.0.0 > > checking which template to use... darwin > > checking whether to build with 64-bit integer date/time support... yes > > checking whether NLS is wanted... no > > checking for default port number... 5432 > > checking for block size... 8kB > > checking for segment size... 1GB > > checking for WAL block size... 8kB > > checking for WAL segment size... 16MB > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking whether gcc supports -Wdeclaration-after-statement... yes > > checking whether gcc supports -Wendif-labels... yes > > checking whether gcc supports -Wmissing-format-attribute... yes > > checking whether gcc supports -Wformat-security... yes > > checking whether gcc supports -fno-strict-aliasing... yes > > checking whether gcc supports -fwrapv... yes > > checking whether gcc supports -fexcess-precision=standard... no > > checking whether the C compiler still works... yes > > checking how to run the C preprocessor... gcc -E > > checking allow thread-safe client libraries... yes > > checking whether to build with Tcl... no > > checking whether to build Perl modules... yes > > checking whether to build Python modules... no > > checking whether to build with GSSAPI support... no > > checking whether to build with Kerberos 5 support... yes > > checking whether to build with PAM support... yes > > checking whether to build with LDAP support... no > > checking whether to build with Bonjour support... yes > > checking whether to build with OpenSSL support... yes > > checking whether to build with SELinux support... no > > checking for xml2-config... xml2-config > > checking for grep that handles long lines and -e... /usr/bin/grep > > checking for egrep... /usr/bin/grep -E > > checking for ld used by GCC... > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld > > checking if the linker > (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) > is GNU ld... no > > checking for ranlib... ranlib > > checking for strip... strip > > checking whether it is possible to strip libraries... no > > checking for ar... ar > > checking for tar... /usr/bin/tar > > checking whether ln -s works... yes > > checking for gawk... no > > checking for mawk... no > > checking for nawk... no > > checking for awk... awk > > checking for a thread-safe mkdir -p... config/install-sh -c -d > > checking for bison... /usr/bin/bison > > configure: using bison (GNU Bison) 2.3 > > checking for flex... /usr/bin/flex > > configure: using flex 2.5.35 Apple(flex-31) > > checking for perl... /usr/local/bin/perl > > configure: using perl 5.18.2 > > checking for Perl archlibexp... > /usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level > > checking for Perl privlibexp... /usr/local/lib/perl5/5.18.2 > > checking for Perl useshrplib... true > > checking for flags to link embedded Perl... -fstack-protector > -L/usr/local/lib > -L/usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -lperl -ldl > -lm -lutil -lc > > checking for main in -lm... yes > > checking for library containing setproctitle... no > > checking for library containing dlopen... none required > > checking for library containing socket... none required > > checking for library containing shl_load... no > > checking for library containing getopt_long... none required > > checking for library containing crypt... none required > > checking for library containing fdatasync... none required > > checking for library containing gethostbyname_r... no > > checking for library containing shmget... none required > > checking for library containing readline... -lreadline > > checking for inflate in -lz... yes > > checking for library containing com_err... -lkrb5 > > checking for library containing krb5_sendauth... none required > > checking for CRYPTO_new_ex_data in -lcrypto... yes > > checking for SSL_library_init in -lssl... yes > > checking for pam_start in -lpam... yes > > checking for xmlSaveToBuffer in -lxml2... yes > > checking for uuid_export in -lossp-uuid... no > > checking for uuid_export in -luuid... yes > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking crypt.h usability... no > > checking crypt.h presence... no > > checking for crypt.h... no > > checking dld.h usability... no > > checking dld.h presence... no > > checking for dld.h... no > > checking fp_class.h usability... no > > checking fp_class.h presence... no > > checking for fp_class.h... no > > checking getopt.h usability... yes > > checking getopt.h presence... yes > > checking for getopt.h... yes > > checking ieeefp.h usability... no > > checking ieeefp.h presence... no > > checking for ieeefp.h... no > > checking ifaddrs.h usability... yes > > checking ifaddrs.h presence... yes > > checking for ifaddrs.h... yes > > checking langinfo.h usability... yes > > checking langinfo.h presence... yes > > checking for langinfo.h... yes > > checking poll.h usability... yes > > checking poll.h presence... yes > > checking for poll.h... yes > > checking pwd.h usability... yes > > checking pwd.h presence... yes > > checking for pwd.h... yes > > checking sys/ioctl.h usability... yes > > checking sys/ioctl.h presence... yes > > checking for sys/ioctl.h... yes > > checking sys/ipc.h usability... yes > > checking sys/ipc.h presence... yes > > checking for sys/ipc.h... yes > > checking sys/poll.h usability... yes > > checking sys/poll.h presence... yes > > checking for sys/poll.h... yes > > checking sys/pstat.h usability... no > > checking sys/pstat.h presence... no > > checking for sys/pstat.h... no > > checking sys/resource.h usability... yes > > checking sys/resource.h presence... yes > > checking for sys/resource.h... yes > > checking sys/select.h usability... yes > > checking sys/select.h presence... yes > > checking for sys/select.h... yes > > checking sys/sem.h usability... yes > > checking sys/sem.h presence... yes > > checking for sys/sem.h... yes > > checking sys/shm.h usability... yes > > checking sys/shm.h presence... yes > > checking for sys/shm.h... yes > > checking sys/socket.h usability... yes > > checking sys/socket.h presence... yes > > checking for sys/socket.h... yes > > checking sys/sockio.h usability... yes > > checking sys/sockio.h presence... yes > > checking for sys/sockio.h... yes > > checking sys/tas.h usability... no > > checking sys/tas.h presence... no > > checking for sys/tas.h... no > > checking sys/time.h usability... yes > > checking sys/time.h presence... yes > > checking for sys/time.h... yes > > checking sys/ucred.h usability... yes > > checking sys/ucred.h presence... yes > > checking for sys/ucred.h... yes > > checking sys/un.h usability... yes > > checking sys/un.h presence... yes > > checking for sys/un.h... yes > > checking termios.h usability... yes > > checking termios.h presence... yes > > checking for termios.h... yes > > checking ucred.h usability... no > > checking ucred.h presence... no > > checking for ucred.h... no > > checking utime.h usability... yes > > checking utime.h presence... yes > > checking for utime.h... yes > > checking wchar.h usability... yes > > checking wchar.h presence... yes > > checking for wchar.h... yes > > checking wctype.h usability... yes > > checking wctype.h presence... yes > > checking for wctype.h... yes > > checking for net/if.h... yes > > checking netinet/in.h usability... yes > > checking netinet/in.h presence... yes > > checking for netinet/in.h... yes > > checking for netinet/tcp.h... yes > > checking readline/readline.h usability... yes > > checking readline/readline.h presence... yes > > checking for readline/readline.h... yes > > checking readline/history.h usability... yes > > checking readline/history.h presence... yes > > checking for readline/history.h... yes > > checking zlib.h usability... yes > > checking zlib.h presence... yes > > checking for zlib.h... yes > > checking krb5.h usability... yes > > checking krb5.h presence... yes > > checking for krb5.h... yes > > checking openssl/ssl.h usability... yes > > checking openssl/ssl.h presence... yes > > checking for openssl/ssl.h... yes > > checking openssl/err.h usability... yes > > checking openssl/err.h presence... yes > > checking for openssl/err.h... yes > > checking security/pam_appl.h usability... yes > > checking security/pam_appl.h presence... yes > > checking for security/pam_appl.h... yes > > checking libxml/parser.h usability... yes > > checking libxml/parser.h presence... yes > > checking for libxml/parser.h... yes > > checking dns_sd.h usability... yes > > checking dns_sd.h presence... yes > > checking for dns_sd.h... yes > > checking ossp/uuid.h usability... no > > checking ossp/uuid.h presence... yes > > configure: WARNING: ossp/uuid.h: present but cannot be compiled > > configure: WARNING: ossp/uuid.h: check for missing prerequisite > headers? > > configure: WARNING: ossp/uuid.h: see the Autoconf documentation > > configure: WARNING: ossp/uuid.h: section "Present But Cannot Be > Compiled" > > configure: WARNING: ossp/uuid.h: proceeding with the preprocessor's > result > > configure: WARNING: ossp/uuid.h: in the future, the compiler will take > precedence > > configure: WARNING: ## ---------------------------------------- ## > > configure: WARNING: ## Report this to pgs...@po... ## > > configure: WARNING: ## ---------------------------------------- ## > > checking for ossp/uuid.h... yes > > checking whether byte ordering is bigendian... no > > checking for an ANSI C-conforming const... yes > > checking for inline... inline > > checking for quiet inline (no complaint if unreferenced)... yes > > checking for preprocessor stringizing operator... yes > > checking for flexible array members... yes > > checking for signed types... yes > > checking for working volatile... yes > > checking for __func__... yes > > checking whether struct tm is in sys/time.h or time.h... time.h > > checking for struct tm.tm_zone... yes > > checking for tzname... yes > > checking for union semun... yes > > checking for struct sockaddr_un... yes > > checking for struct sockaddr_storage... yes > > checking for struct sockaddr_storage.ss_family... yes > > checking for struct sockaddr_storage.__ss_family... no > > checking for struct sockaddr_storage.ss_len... yes > > checking for struct sockaddr_storage.__ss_len... no > > checking for struct sockaddr.sa_len... yes > > checking for struct addrinfo... yes > > checking for intptr_t... yes > > checking for uintptr_t... yes > > checking for long long int... yes > > checking for locale_t... yes (in xlocale.h) > > checking for struct cmsgcred... no > > checking for struct option... yes > > checking for z_streamp... yes > > checking for krb5_ticket.enc_part2... yes > > checking for krb5_error.text.data... yes > > checking for krb5_free_unparsed_name... yes > > checking for special C compiler options needed for large files... no > > checking for _FILE_OFFSET_BITS value needed for large files... no > > checking size of off_t... 8 > > checking for int timezone... yes > > checking types of arguments for accept()... int, int, struct sockaddr *, > socklen_t * > > checking whether gettimeofday takes only one argument... no > > checking for cbrt... yes > > checking for dlopen... yes > > checking for fdatasync... yes > > checking for getifaddrs... yes > > checking for getpeerucred... no > > checking for getrlimit... yes > > checking for mbstowcs_l... yes > > checking for memmove... yes > > checking for poll... yes > > checking for pstat... no > > checking for readlink... yes > > checking for setproctitle... no > > checking for setsid... yes > > checking for sigprocmask... yes > > checking for symlink... yes > > checking for towlower... yes > > checking for utime... yes > > checking for utimes... yes > > checking for waitpid... yes > > checking for wcstombs... yes > > checking for wcstombs_l... yes > > checking for fseeko... yes > > checking for _LARGEFILE_SOURCE value needed for large files... no > > checking for posix_fadvise... no > > checking whether posix_fadvise is declared... no > > checking whether fdatasync is declared... no > > checking whether strlcat is declared... yes > > checking whether strlcpy is declared... yes > > checking whether F_FULLFSYNC is declared... yes > > checking for struct sockaddr_in6... yes > > checking for PS_STRINGS... no > > checking for snprintf... yes > > checking for vsnprintf... yes > > checking whether snprintf is declared... yes > > checking whether vsnprintf is declared... yes > > checking for isinf... yes > > checking for crypt... yes > > checking for fls... yes > > checking for getopt... yes > > checking for getrusage... yes > > checking for inet_aton... yes > > checking for random... yes > > checking for rint... yes > > checking for srandom... yes > > checking for strerror... yes > > checking for strlcat... yes > > checking for strlcpy... yes > > checking for unsetenv... yes > > checking for getpeereid... yes > > checking for getaddrinfo... yes > > checking for getopt_long... yes > > checking for sigsetjmp... yes > > checking whether sys_siglist is declared... yes > > checking for syslog... yes > > checking syslog.h usability... yes > > checking syslog.h presence... yes > > checking for syslog.h... yes > > checking for opterr... yes > > checking for optreset... yes > > checking for strtoll... yes > > checking for strtoull... yes > > checking for builtin locking functions... yes > > checking for rl_completion_append_character... yes > > checking for rl_completion_matches... yes > > checking for rl_filename_completion_function... yes > > checking for append_history... yes > > checking for history_truncate_file... yes > > checking for the pthreads library -lpthreads... no > > checking whether pthreads work without any flags... yes > > checking whether pthreads work with -Kthread... no > > checking whether pthreads work with -kthread... no > > checking for the pthreads library -llthread... no > > checking whether pthreads work with -pthread... yes > > checking whether pthreads work with -pthreads... no > > checking whether pthreads work with -mthreads... no > > checking for the pthreads library -lpthread... yes > > checking whether pthreads work with --thread-safe... no > > checking whether pthreads work with -mt... no > > checking for the pthreads library -lpthreadGC2... no > > checking pthread.h usability... yes > > checking pthread.h presence... yes > > checking for pthread.h... yes > > checking for strerror_r... yes > > checking for getpwuid_r... yes > > checking for gethostbyname_r... no > > checking whether getpwuid_r takes a fifth argument... yes > > checking whether strerror_r returns int... yes > > checking test program... ok > > checking whether long int is 64 bits... yes > > checking size of void *... 8 > > checking size of size_t... 8 > > checking size of long... 8 > > checking whether to build with float4 passed by value... yes > > checking whether to build with float8 passed by value... yes > > checking alignment of short... 2 > > checking alignment of int... 4 > > checking alignment of long... 8 > > checking alignment of double... 8 > > checking for int8... no > > checking for uint8... no > > checking for int64... no > > checking for uint64... no > > checking for sig_atomic_t... yes > > checking for POSIX signal interface... yes > > checking for working memcmp... yes > > checking for onsgmls... no > > checking for nsgmls... no > > checking for openjade... no > > checking for jade... no > > checking for DocBook V4.2... no > > checking for DocBook stylesheets... no > > checking for collateindex.pl... no > > checking for xsltproc... xsltproc > > checking for osx... no > > checking for sgml2xml... no > > checking for sx... no > > checking thread safety of required library functions... yes > > checking whether gcc supports -Wl,-dead_strip_dylibs... yes > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > > configure: using compiler=Apple LLVM version 5.0 (clang-500.2.79) (based > on LLVM 3.3svn) > > configure: using CFLAGS=-DPGXC -O2 -Wall -Wmissing-prototypes > -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels > -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv > > configure: using CPPFLAGS= -I/usr/local/include/libxml2 > -I/usr/local/include > > configure: using LDFLAGS= -L/usr/local/lib -L/usr/local/lib > -Wl,-dead_strip_dylibs > > configure: creating ./config.status > > config.status: creating GNUmakefile > > config.status: creating src/Makefile.global > > config.status: creating src/include/pg_config.h > > config.status: src/include/pg_config.h is unchanged > > config.status: creating src/interfaces/ecpg/include/ecpg_config.h > > config.status: src/interfaces/ecpg/include/ecpg_config.h is unchanged > > config.status: linking src/backend/port/tas/dummy.s to > src/backend/port/tas.s > > config.status: linking src/backend/port/dynloader/darwin.c to > src/backend/port/dynloader.c > > config.status: linking src/backend/port/sysv_sema.c to > src/backend/port/pg_sema.c > > config.status: linking src/backend/port/sysv_shmem.c to > src/backend/port/pg_shmem.c > > config.status: linking src/backend/port/unix_latch.c to > src/backend/port/pg_latch.c > > config.status: linking src/backend/port/dynloader/darwin.h to > src/include/dynloader.h > > config.status: linking src/include/port/darwin.h to > src/include/pg_config_os.h > > config.status: linking src/makefiles/Makefile.darwin to src/Makefile.port > > > > $ make all > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C port all > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o chklocale.o chklocale.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o dirmod.o dirmod.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o erand48.o erand48.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o exec.o exec.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o fls.o fls.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o inet_net_ntop.o inet_net_ntop.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o noblock.o noblock.c > > echo "#define PGBINDIR \"/bin\"" >pg_config_paths.h > > echo "#define PGSHAREDIR \"/share/postgresql\"" >>pg_config_paths.h > > echo "#define SYSCONFDIR \"/etc/postgresql\"" >>pg_config_paths.h > > echo "#define INCLUDEDIR \"/include\"" >>pg_config_paths.h > > echo "#define PKGINCLUDEDIR \"/include/postgresql\"" >>pg_config_paths.h > > echo "#define INCLUDEDIRSERVER \"/include/postgresql/server\"" > >>pg_config_paths.h > > echo "#define LIBDIR \"/lib\"" >>pg_config_paths.h > > echo "#define PKGLIBDIR \"/lib/postgresql\"" >>pg_config_paths.h > > echo "#define LOCALEDIR \"/share/locale\"" >>pg_config_paths.h > > echo "#define DOCDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h > > echo "#define HTMLDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h > > echo "#define MANDIR \"/share/man\"" >>pg_config_paths.h > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o path.o path.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o pgcheckdir.o pgcheckdir.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o pg_crc.o pg_crc.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o pgmkdirp.o pgmkdirp.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o pgsleep.o pgsleep.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o pgstrcasecmp.o pgstrcasecmp.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o qsort.o qsort.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o qsort_arg.o qsort_arg.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o sprompt.o sprompt.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -pthread -D_REENTRANT > -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I../../src/port -DFRONTEND > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > -o thread.o thread.c > > ar crs libpgport.a chklocale.o dirmod.o erand48.o exec.o fls.o > inet_net_ntop.o noblock.o path.o pgcheckdir.o pg_crc.o pgmkdirp.o pgsleep.o > pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend > submake-errcodes > > prereqdir=`cd 'utils/' >/dev/null && pwd` && \ > > cd '../../src/include/utils/' && rm -f errcodes.h && \ > > ln -s "$prereqdir/errcodes.h" . > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > chklocale.c -o chklocale_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > dirmod.c -o dirmod_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > erand48.c -o erand48_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > exec.c -o exec_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > fls.c -o fls_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > inet_net_ntop.c -o inet_net_ntop_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > noblock.c -o noblock_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > path.c -o path_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > pgcheckdir.c -o pgcheckdir_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > pg_crc.c -o pg_crc_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > pgmkdirp.c -o pgmkdirp_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > pgsleep.c -o pgsleep_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > pgstrcasecmp.c -o pgstrcasecmp_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > qsort.c -o qsort_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > qsort_arg.c -o qsort_arg_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > sprompt.c -o sprompt_srv.o > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port > -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c > thread.c -o thread_srv.o > > ar crs libpgport_srv.a chklocale_srv.o dirmod_srv.o erand48_srv.o > exec_srv.o fls_srv.o inet_net_ntop_srv.o noblock_srv.o path_srv.o > pgcheckdir_srv.o pg_crc_srv.o pgmkdirp_srv.o pgsleep_srv.o > pgstrcasecmp_srv.o qsort_srv.o qsort_arg_srv.o sprompt_srv.o thread_srv.o > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C timezone all > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o localtime.o > localtime.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o strftime.o > strftime.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgtz.o pgtz.c > > ( echo src/timezone/localtime.o src/timezone/strftime.o > src/timezone/pgtz.o ) >objfiles.txt > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o zic.o zic.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o ialloc.o ialloc.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o scheck.o scheck.c > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C > ../../src/port all > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend > submake-errcodes > > make[4]: Nothing to be done for `submake-errcodes'. > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv zic.o ialloc.o scheck.o > localtime.o -L../../src/port -lpthread -L/usr/local/lib -L/usr/local/lib > -Wl,-dead_strip_dylibs -lpgport -lxml2 -lpam -lssl -lcrypto -lkrb5 -lz > -lreadline -lm -o zic > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C gtm all > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C client all > > ( echo src/gtm/client/fe-misc.o src/gtm/client/fe-connect.o > src/gtm/client/gtm_client.o src/gtm/client/fe-protocol.o > src/gtm/client/ip.o src/gtm/client/pqexpbuffer.o ) >objfiles.txt > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-misc.o > fe-misc.c > > fe-misc.c:168:10: warning: comparison of unsigned expression < 0 is > always false > > [-Wtautological-compare] > > if (len < 0 || len > (size_t) (conn->inEnd - conn->inCursor)) > > ~~~ ^ ~ > > 1 warning generated. > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-connect.o > fe-connect.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_client.o > gtm_client.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-protocol.o > fe-protocol.c > > fe-protocol.c:572:40: warning: incompatible pointer types assigning to > 'GTM_SeqInfo *' > > (aka 'struct GTM_SeqInfo *') from 'GTM_SeqInfo **' (aka 'struct > GTM_SeqInfo **'); > > dereference with * [-Wincompatible-pointer-types] > > result->gr_resdata.grd_seq_list.seq = > > ^ > > 1 warning generated. > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqexpbuffer.o > pqexpbuffer.c > > ar crs libgtmclient.a fe-misc.o fe-connect.o gtm_client.o fe-protocol.o > ip.o pqexpbuffer.o > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C common all > > ( echo src/gtm/common/gtm_utils.o src/gtm/common/gtm_lock.o > src/gtm/common/gtm_serialize.o src/gtm/common/gtm_serialize_debug.o > src/gtm/common/aset.o src/gtm/common/assert.o src/gtm/common/elog.o > src/gtm/common/mcxt.o src/gtm/common/stringinfo.o src/gtm/common/gtm_list.o > ) >objfiles.txt > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_utils.o > gtm_utils.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_lock.o > gtm_lock.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_serialize.o > gtm_serialize.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o > gtm_serialize_debug.o gtm_serialize_debug.c > > gtm_serialize_debug.c:39:37: warning: format specifies type 'long' but > the argument has > > type 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] > > elog(DEBUG1, "gti_thread_id: %ld", txn->gti_thread_id); > > ~~~ ^~~~~~~~~~~~~~~~~~ > > 1 warning generated. > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o aset.o aset.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o assert.o assert.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o elog.o elog.c > > elog.c:117:17: warning: comparison between pointer and integer ('int' > and 'GTM_ThreadID' > > (aka 'struct _opaque_pthread_t *')) > > if (log_my_pid != MyThreadID) > > ~~~~~~~~~~ ^ ~~~~~~~~~~ > > elog.c:120:14: warning: incompatible pointer to integer conversion > assigning to 'int' from > > 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') > [-Wint-conversion] > > log_my_pid = MyThreadID; > > ^ ~~~~~~~~~~ > > elog.c:147:34: warning: format specifies type 'unsigned long' but the > argument has type > > 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] > > appendStringInfo(buf, "%lu", MyThreadID); > > ~~~ ^~~~~~~~~~ > > ../../../src/include/gtm/gtm.h:121:23: note: expanded from macro > 'MyThreadID' > > #define MyThreadID (GetMyThreadInfo->thr_id) > > ^~~~~~~~~~~~~~~~~~~~~~~~~ > > 3 warnings generated. > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o mcxt.o mcxt.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o stringinfo.o > stringinfo.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_list.o > gtm_list.c > > ar crs libgtmcommon.a gtm_utils.o gtm_lock.o gtm_serialize.o > gtm_serialize_debug.o aset.o assert.o elog.o mcxt.o stringinfo.o gtm_list.o > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C config all > > ( echo src/gtm/config/gtm_opt_handler.o ) >objfiles.txt > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I. > -I../../../src/interfaces/libpq -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_opt_handler.o > gtm_opt_handler.c > > ar crs libgtmconfig.a gtm_opt_handler.o > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C libpq all > > ( echo src/gtm/libpq/ip.o src/gtm/libpq/pqcomm.o > src/gtm/libpq/pqformat.o src/gtm/libpq/strlcpy.o src/gtm/libpq/pqsignal.o ) > >objfiles.txt > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqcomm.o pqcomm.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqformat.o > pqformat.c > > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include > -I/usr/local/include/libxml2 -I/usr/local/include -c -o strlcpy.o > strlcpy.c > > strlcpy.c:46:1: error: expected parameter declarator > > strlcpy(char *dst, const char *src, size_t siz) > > ^ > > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > /usr/include/secure/_common.h:39:62: note: expanded from macro > '__darwin_obsz' > > #define __darwin_obsz(object) __builtin_object_size (object, > _USE_FORTIFY_LEVEL > ... > > ^ > > /usr/include/secure/_common.h:30:32: note: expanded from macro > '_USE_FORTIFY_LEVEL' > > # define _USE_FORTIFY_LEVEL 2 > > ^ > > strlcpy.c:46:1: error: expected ')' > > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > /usr/include/secure/_common.h:39:62: note: expanded from macro > '__darwin_obsz' > > #define __darwin_obsz(object) __builtin_object_size (object, > _USE_FORTIFY_LEVEL > ... > > ^ > > /usr/include/secure/_common.h:30:32: note: expanded from macro > '_USE_FORTIFY_LEVEL' > > # define _USE_FORTIFY_LEVEL 2 > > ^ > > strlcpy.c:46:1: note: to match this '(' > > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > /usr/include/secure/_common.h:39:53: note: expanded from macro > '__darwin_obsz' > > #define __darwin_obsz(object) __builtin_object_size (object, > _USE_FORTIFY_LEVEL > ... > > ^ > > strlcpy.c:46:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] > > strlcpy(char *dst, const char *src, size_t siz) > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^~~~~~~~~~~~~~~~~~~~ > > /usr/include/secure/_common.h:39:31: note: expanded from macro > '__darwin_obsz' > > #define __darwin_obsz(object) __builtin_object_size (object, > _USE_FORTIFY_LEVEL > ... > > ^~~~~~~~~~~~~~~~~~~~~ > > strlcpy.c:46:1: error: conflicting types for '__builtin___strlcpy_chk' > > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > strlcpy.c:46:1: note: '__builtin___strlcpy_chk' is a builtin with type > 'unsigned long > > (char *, const char *, unsigned long, unsigned long)' > > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > strlcpy.c:46:1: error: definition of builtin function > '__builtin___strlcpy_chk' > > strlcpy(char *dst, const char *src, size_t siz) > > ^ > > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > > ^ > > 1 warning and 4 errors generated. > > make[3]: *** [strlcpy.o] Error 1 > > make[2]: *** [all-libpq-recurse] Error 2 > > make[1]: *** [all-gtm-recurse] Error 2 > > make: *** [all-src-recurse] Error 2 > > > > Best, > > > > David > > > > > > > ------------------------------------------------------------------------------ > > WatchGuard Dimension instantly turns raw network data into actionable > > security intelligence. It gives you real-time visual feedback on key > > security issues and trends. Skip the complicated setup - simply import > > a virtual appliance and go from zero to informed in seconds. > > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > > _______________________________________________ > > Postgres-xc-developers mailing list > > Pos...@li... > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company |
From: Ashutosh B. <ash...@en...> - 2014-01-31 03:41:45
|
On Thu, Jan 30, 2014 at 10:27 PM, David E. Wheeler <da...@ju...>wrote: > On Jan 29, 2014, at 11:14 PM, Ashutosh Bapat < > ash...@en...> wrote: > > > It depends what APIs in Postgres are being used in PostGIS. We have > modified a quite a few internal functions and structures e.g. > standard_ProcessUtility() to work in cluster environment. Using those > functions would break the object linkages. But anything which is SQL > compatible with 10.1 will work against PGXC 2.0 if we get to catch up with > PG by then. One may not need to modify the code in such cases, but would > require to build the extension or binary again. > > Well, that seems a rather long way off, and RPMs can be renamed at that > time, if appropriate. In the meantime, I think using the "xc11" suffix as I > proposed is the way to go. Agreed? > > That looks good. > Best, > > David -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company |
From: Ahsan H. <ahs...@en...> - 2014-01-31 03:34:38
|
On 31 Jan 2014 06:56, "Michael Paquier" <mic...@gm...> wrote: > > On Fri, Jan 31, 2014 at 10:47 AM, Koichi Suzuki <koi...@gm...> wrote: > > This made all the process and communication almost invisible. > And this is a problem. It was hard to guess for long months what was > going on, with who doing what. > True. Going forward the merge with PG will be done incrementally so people can get visibility along the way. > > I'm going to do the following after I stabilize the current master: > > 1) Merge with PG 9.3, > Looks good. You should not have much issues here, I don't recall that > *much* API changes since 9.3beta1. > > > 2) Merge current master with the latest PG master. > You should wait for the moment when REL9_4_STABLE is out. Better to do > that once a year by experience. > > > They may take a bit long and I'm planning to make intermediate status > > visible to public so that I can have many more help. > Each commit done should actually be justified on publicly visible MLs. > Regards, > -- > Michael > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: Koichi S. <koi...@gm...> - 2014-01-31 02:26:21
|
Please. It helps too. --- Koichi Suzuki 2014-01-31 David E. Wheeler <da...@ju...>: > On Jan 30, 2014, at 5:34 PM, Koichi Suzuki <koi...@gm...> wrote: > >> Hmm. There could be two candidates of the cause. >> >> One is, as you mentioned, set propagation. SET is handled within the >> connection pooler in general way so I think this is less probable. >> Another is XC-internal alias handling, which took much to fix >> especially in the merge with PG master before 9.3 was cut. > > Would you like me to file a bug report? > > D > |
From: Koichi S. <koi...@gm...> - 2014-01-31 02:25:51
|
2014-01-31 Michael Paquier <mic...@gm...>: > On Fri, Jan 31, 2014 at 10:47 AM, Koichi Suzuki <koi...@gm...> wrote: >> This made all the process and communication almost invisible. > And this is a problem. It was hard to guess for long months what was > going on, with who doing what. > >> I'm going to do the following after I stabilize the current master: >> 1) Merge with PG 9.3, > Looks good. You should not have much issues here, I don't recall that > *much* API changes since 9.3beta1. > >> 2) Merge current master with the latest PG master. > You should wait for the moment when REL9_4_STABLE is out. Better to do > that once a year by experience. I'd like to merge PG master into XC master more frequently to make each work simpler and robust. This is the background we changed the release cycle from June to January(this time it is taking longer though). > >> They may take a bit long and I'm planning to make intermediate status >> visible to public so that I can have many more help. > Each commit done should actually be justified on publicly visible MLs. > Regards, > -- > Michael |
From: David E. W. <da...@ju...> - 2014-01-31 02:08:39
|
On Jan 30, 2014, at 5:34 PM, Koichi Suzuki <koi...@gm...> wrote: > Hmm. There could be two candidates of the cause. > > One is, as you mentioned, set propagation. SET is handled within the > connection pooler in general way so I think this is less probable. > Another is XC-internal alias handling, which took much to fix > especially in the merge with PG master before 9.3 was cut. Would you like me to file a bug report? D |
From: Michael P. <mic...@gm...> - 2014-01-31 01:55:16
|
On Fri, Jan 31, 2014 at 10:47 AM, Koichi Suzuki <koi...@gm...> wrote: > This made all the process and communication almost invisible. And this is a problem. It was hard to guess for long months what was going on, with who doing what. > I'm going to do the following after I stabilize the current master: > 1) Merge with PG 9.3, Looks good. You should not have much issues here, I don't recall that *much* API changes since 9.3beta1. > 2) Merge current master with the latest PG master. You should wait for the moment when REL9_4_STABLE is out. Better to do that once a year by experience. > They may take a bit long and I'm planning to make intermediate status > visible to public so that I can have many more help. Each commit done should actually be justified on publicly visible MLs. Regards, -- Michael |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:47:55
|
Yes, this is the mistake we've made in this merge. The merge took very long due to internal API change in the planner. I planned to make master branch as stable as possible and the merge can be seen as a single commit. This made all the process and communication almost invisible. I'm going to do the following after I stabilize the current master: 1) Merge with PG 9.3, 2) Merge current master with the latest PG master. They may take a bit long and I'm planning to make intermediate status visible to public so that I can have many more help. Ideas or thoughts? --- Koichi Suzuki 2014-01-31 Michael Paquier <mic...@gm...>: > On Fri, Jan 31, 2014 at 10:29 AM, Koichi Suzuki <koi...@gm...> wrote: >> The master was updated with master_pg93_merge and it was found that we >> still need some more work to stabilize it, some conflict and errors >> found in DBT-1 benchmark run. >> >> Please allow a bit more for stabilization. > That's a development branch. It is made to be unstable :). You could > actually have done the merge of 9.3 directly on master IMO without > using the intermediate branch master_pg93_merge. > -- > Michael |
From: Michael P. <mic...@gm...> - 2014-01-31 01:39:29
|
On Fri, Jan 31, 2014 at 10:29 AM, Koichi Suzuki <koi...@gm...> wrote: > The master was updated with master_pg93_merge and it was found that we > still need some more work to stabilize it, some conflict and errors > found in DBT-1 benchmark run. > > Please allow a bit more for stabilization. That's a development branch. It is made to be unstable :). You could actually have done the merge of 9.3 directly on master IMO without using the intermediate branch master_pg93_merge. -- Michael |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:35:48
|
Ashutosh, do you have a time to look into it? --- Koichi Suzuki 2014-01-31 David E. Wheeler <da...@ju...>: > XCers, > > Sqitch has a query that looks like this: > > INSERT INTO tags ( > tag_id > , tag > , project > , change_id > , note > , committer_name > , committer_email > , planned_at > , planner_name > , planner_email > ) > SELECT tid, tg, proj, chid, n, name, email, at, pname, pemail FROM ( VALUES > (?, ?, ?, ?, ?, ?, ?, ?::timestamptz, ?, ?) > ) i(tid, tg, proj, chid, n, name, email, at, pname, pemail) > LEFT JOIN tags ON i.tid = tags.tag_id > WHERE tags.tag_id IS NULL > > Works fine on 8.4-9.3, but XC does not like it: > > ERROR: unexpected varno 6 in JOIN RTE 5 > > I have no idea what that means. I tried renaming some of the column aliases in the VALUES subselect, but it made not difference. Any ideas? > > Thanks, > > David > > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:34:44
|
Hmm. There could be two candidates of the cause. One is, as you mentioned, set propagation. SET is handled within the connection pooler in general way so I think this is less probable. Another is XC-internal alias handling, which took much to fix especially in the merge with PG master before 9.3 was cut. Regards; --- Koichi Suzuki 2014-01-31 David E. Wheeler <da...@ju...>: > On Jan 30, 2014, at 5:04 PM, David E. Wheeler <da...@ju...> wrote: > >> I can work around it by schema-qualifying objects, but would rather not have to. > > Another search_path issue: If you have schema-qualified a data type in a table column, queries will fail against that table: > > dwheeler=# create schema bar; > CREATE SCHEMA > dwheeler=# create type bar.lol as enum ('a', 'b'); > CREATE TYPE > dwheeler=# create table bar.hey (lol bar.lol) DISTRIBUTE BY REPLICATION; > CREATE TABLE > dwheeler=# select * from bar.hey; > ERROR: type "lol" does not exist > > I guess the workaround would be to set the search_path to include all my schemas on in all the coordinator and data node postgresql.conf files? > > Thanks, > > David > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:32:27
|
Yes, we do have this problem and a patch was submitted. There should be related mailing list thread on this. Will let you know when I locate the thread. Thank you ; --- Koichi Suzuki 2014-01-31 David E. Wheeler <da...@ju...>: > XCers, > > I tried to build 1.1 on my Mac, but it wasn't happy trying to build libpq. Details: > > $ uname -a > Darwin dwhee-ma-2944 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 > > $ gcc --version > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > Target: x86_64-apple-darwin13.0.0 > Thread model: posix > > $ ./configure --with-bonjour --with-perl PERL=$PERL \ >> --with-openssl --with-pam --with-krb5 --with-libxml \ >> --with-ossp-uuid --with-includes=/usr/local/include \ >> --enable-integer-datetimes --with-zlib \ >> --with-libs=/usr/local/lib --prefix=$BASE || exit $? > checking build system type... x86_64-apple-darwin13.0.0 > checking host system type... x86_64-apple-darwin13.0.0 > checking which template to use... darwin > checking whether to build with 64-bit integer date/time support... yes > checking whether NLS is wanted... no > checking for default port number... 5432 > checking for block size... 8kB > checking for segment size... 1GB > checking for WAL block size... 8kB > checking for WAL segment size... 16MB > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether gcc supports -Wdeclaration-after-statement... yes > checking whether gcc supports -Wendif-labels... yes > checking whether gcc supports -Wmissing-format-attribute... yes > checking whether gcc supports -Wformat-security... yes > checking whether gcc supports -fno-strict-aliasing... yes > checking whether gcc supports -fwrapv... yes > checking whether gcc supports -fexcess-precision=standard... no > checking whether the C compiler still works... yes > checking how to run the C preprocessor... gcc -E > checking allow thread-safe client libraries... yes > checking whether to build with Tcl... no > checking whether to build Perl modules... yes > checking whether to build Python modules... no > checking whether to build with GSSAPI support... no > checking whether to build with Kerberos 5 support... yes > checking whether to build with PAM support... yes > checking whether to build with LDAP support... no > checking whether to build with Bonjour support... yes > checking whether to build with OpenSSL support... yes > checking whether to build with SELinux support... no > checking for xml2-config... xml2-config > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld > checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no > checking for ranlib... ranlib > checking for strip... strip > checking whether it is possible to strip libraries... no > checking for ar... ar > checking for tar... /usr/bin/tar > checking whether ln -s works... yes > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking for a thread-safe mkdir -p... config/install-sh -c -d > checking for bison... /usr/bin/bison > configure: using bison (GNU Bison) 2.3 > checking for flex... /usr/bin/flex > configure: using flex 2.5.35 Apple(flex-31) > checking for perl... /usr/local/bin/perl > configure: using perl 5.18.2 > checking for Perl archlibexp... /usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level > checking for Perl privlibexp... /usr/local/lib/perl5/5.18.2 > checking for Perl useshrplib... true > checking for flags to link embedded Perl... -fstack-protector -L/usr/local/lib -L/usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc > checking for main in -lm... yes > checking for library containing setproctitle... no > checking for library containing dlopen... none required > checking for library containing socket... none required > checking for library containing shl_load... no > checking for library containing getopt_long... none required > checking for library containing crypt... none required > checking for library containing fdatasync... none required > checking for library containing gethostbyname_r... no > checking for library containing shmget... none required > checking for library containing readline... -lreadline > checking for inflate in -lz... yes > checking for library containing com_err... -lkrb5 > checking for library containing krb5_sendauth... none required > checking for CRYPTO_new_ex_data in -lcrypto... yes > checking for SSL_library_init in -lssl... yes > checking for pam_start in -lpam... yes > checking for xmlSaveToBuffer in -lxml2... yes > checking for uuid_export in -lossp-uuid... no > checking for uuid_export in -luuid... yes > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking crypt.h usability... no > checking crypt.h presence... no > checking for crypt.h... no > checking dld.h usability... no > checking dld.h presence... no > checking for dld.h... no > checking fp_class.h usability... no > checking fp_class.h presence... no > checking for fp_class.h... no > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking ieeefp.h usability... no > checking ieeefp.h presence... no > checking for ieeefp.h... no > checking ifaddrs.h usability... yes > checking ifaddrs.h presence... yes > checking for ifaddrs.h... yes > checking langinfo.h usability... yes > checking langinfo.h presence... yes > checking for langinfo.h... yes > checking poll.h usability... yes > checking poll.h presence... yes > checking for poll.h... yes > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/ipc.h usability... yes > checking sys/ipc.h presence... yes > checking for sys/ipc.h... yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking sys/pstat.h usability... no > checking sys/pstat.h presence... no > checking for sys/pstat.h... no > checking sys/resource.h usability... yes > checking sys/resource.h presence... yes > checking for sys/resource.h... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking sys/sem.h usability... yes > checking sys/sem.h presence... yes > checking for sys/sem.h... yes > checking sys/shm.h usability... yes > checking sys/shm.h presence... yes > checking for sys/shm.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/sockio.h usability... yes > checking sys/sockio.h presence... yes > checking for sys/sockio.h... yes > checking sys/tas.h usability... no > checking sys/tas.h presence... no > checking for sys/tas.h... no > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/ucred.h usability... yes > checking sys/ucred.h presence... yes > checking for sys/ucred.h... yes > checking sys/un.h usability... yes > checking sys/un.h presence... yes > checking for sys/un.h... yes > checking termios.h usability... yes > checking termios.h presence... yes > checking for termios.h... yes > checking ucred.h usability... no > checking ucred.h presence... no > checking for ucred.h... no > checking utime.h usability... yes > checking utime.h presence... yes > checking for utime.h... yes > checking wchar.h usability... yes > checking wchar.h presence... yes > checking for wchar.h... yes > checking wctype.h usability... yes > checking wctype.h presence... yes > checking for wctype.h... yes > checking for net/if.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for netinet/tcp.h... yes > checking readline/readline.h usability... yes > checking readline/readline.h presence... yes > checking for readline/readline.h... yes > checking readline/history.h usability... yes > checking readline/history.h presence... yes > checking for readline/history.h... yes > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking krb5.h usability... yes > checking krb5.h presence... yes > checking for krb5.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking security/pam_appl.h usability... yes > checking security/pam_appl.h presence... yes > checking for security/pam_appl.h... yes > checking libxml/parser.h usability... yes > checking libxml/parser.h presence... yes > checking for libxml/parser.h... yes > checking dns_sd.h usability... yes > checking dns_sd.h presence... yes > checking for dns_sd.h... yes > checking ossp/uuid.h usability... no > checking ossp/uuid.h presence... yes > configure: WARNING: ossp/uuid.h: present but cannot be compiled > configure: WARNING: ossp/uuid.h: check for missing prerequisite headers? > configure: WARNING: ossp/uuid.h: see the Autoconf documentation > configure: WARNING: ossp/uuid.h: section "Present But Cannot Be Compiled" > configure: WARNING: ossp/uuid.h: proceeding with the preprocessor's result > configure: WARNING: ossp/uuid.h: in the future, the compiler will take precedence > configure: WARNING: ## ---------------------------------------- ## > configure: WARNING: ## Report this to pgs...@po... ## > configure: WARNING: ## ---------------------------------------- ## > checking for ossp/uuid.h... yes > checking whether byte ordering is bigendian... no > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for quiet inline (no complaint if unreferenced)... yes > checking for preprocessor stringizing operator... yes > checking for flexible array members... yes > checking for signed types... yes > checking for working volatile... yes > checking for __func__... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for struct tm.tm_zone... yes > checking for tzname... yes > checking for union semun... yes > checking for struct sockaddr_un... yes > checking for struct sockaddr_storage... yes > checking for struct sockaddr_storage.ss_family... yes > checking for struct sockaddr_storage.__ss_family... no > checking for struct sockaddr_storage.ss_len... yes > checking for struct sockaddr_storage.__ss_len... no > checking for struct sockaddr.sa_len... yes > checking for struct addrinfo... yes > checking for intptr_t... yes > checking for uintptr_t... yes > checking for long long int... yes > checking for locale_t... yes (in xlocale.h) > checking for struct cmsgcred... no > checking for struct option... yes > checking for z_streamp... yes > checking for krb5_ticket.enc_part2... yes > checking for krb5_error.text.data... yes > checking for krb5_free_unparsed_name... yes > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking size of off_t... 8 > checking for int timezone... yes > checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * > checking whether gettimeofday takes only one argument... no > checking for cbrt... yes > checking for dlopen... yes > checking for fdatasync... yes > checking for getifaddrs... yes > checking for getpeerucred... no > checking for getrlimit... yes > checking for mbstowcs_l... yes > checking for memmove... yes > checking for poll... yes > checking for pstat... no > checking for readlink... yes > checking for setproctitle... no > checking for setsid... yes > checking for sigprocmask... yes > checking for symlink... yes > checking for towlower... yes > checking for utime... yes > checking for utimes... yes > checking for waitpid... yes > checking for wcstombs... yes > checking for wcstombs_l... yes > checking for fseeko... yes > checking for _LARGEFILE_SOURCE value needed for large files... no > checking for posix_fadvise... no > checking whether posix_fadvise is declared... no > checking whether fdatasync is declared... no > checking whether strlcat is declared... yes > checking whether strlcpy is declared... yes > checking whether F_FULLFSYNC is declared... yes > checking for struct sockaddr_in6... yes > checking for PS_STRINGS... no > checking for snprintf... yes > checking for vsnprintf... yes > checking whether snprintf is declared... yes > checking whether vsnprintf is declared... yes > checking for isinf... yes > checking for crypt... yes > checking for fls... yes > checking for getopt... yes > checking for getrusage... yes > checking for inet_aton... yes > checking for random... yes > checking for rint... yes > checking for srandom... yes > checking for strerror... yes > checking for strlcat... yes > checking for strlcpy... yes > checking for unsetenv... yes > checking for getpeereid... yes > checking for getaddrinfo... yes > checking for getopt_long... yes > checking for sigsetjmp... yes > checking whether sys_siglist is declared... yes > checking for syslog... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for opterr... yes > checking for optreset... yes > checking for strtoll... yes > checking for strtoull... yes > checking for builtin locking functions... yes > checking for rl_completion_append_character... yes > checking for rl_completion_matches... yes > checking for rl_filename_completion_function... yes > checking for append_history... yes > checking for history_truncate_file... yes > checking for the pthreads library -lpthreads... no > checking whether pthreads work without any flags... yes > checking whether pthreads work with -Kthread... no > checking whether pthreads work with -kthread... no > checking for the pthreads library -llthread... no > checking whether pthreads work with -pthread... yes > checking whether pthreads work with -pthreads... no > checking whether pthreads work with -mthreads... no > checking for the pthreads library -lpthread... yes > checking whether pthreads work with --thread-safe... no > checking whether pthreads work with -mt... no > checking for the pthreads library -lpthreadGC2... no > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking for strerror_r... yes > checking for getpwuid_r... yes > checking for gethostbyname_r... no > checking whether getpwuid_r takes a fifth argument... yes > checking whether strerror_r returns int... yes > checking test program... ok > checking whether long int is 64 bits... yes > checking size of void *... 8 > checking size of size_t... 8 > checking size of long... 8 > checking whether to build with float4 passed by value... yes > checking whether to build with float8 passed by value... yes > checking alignment of short... 2 > checking alignment of int... 4 > checking alignment of long... 8 > checking alignment of double... 8 > checking for int8... no > checking for uint8... no > checking for int64... no > checking for uint64... no > checking for sig_atomic_t... yes > checking for POSIX signal interface... yes > checking for working memcmp... yes > checking for onsgmls... no > checking for nsgmls... no > checking for openjade... no > checking for jade... no > checking for DocBook V4.2... no > checking for DocBook stylesheets... no > checking for collateindex.pl... no > checking for xsltproc... xsltproc > checking for osx... no > checking for sgml2xml... no > checking for sx... no > checking thread safety of required library functions... yes > checking whether gcc supports -Wl,-dead_strip_dylibs... yes > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 > configure: using compiler=Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > configure: using CFLAGS=-DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv > configure: using CPPFLAGS= -I/usr/local/include/libxml2 -I/usr/local/include > configure: using LDFLAGS= -L/usr/local/lib -L/usr/local/lib -Wl,-dead_strip_dylibs > configure: creating ./config.status > config.status: creating GNUmakefile > config.status: creating src/Makefile.global > config.status: creating src/include/pg_config.h > config.status: src/include/pg_config.h is unchanged > config.status: creating src/interfaces/ecpg/include/ecpg_config.h > config.status: src/interfaces/ecpg/include/ecpg_config.h is unchanged > config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s > config.status: linking src/backend/port/dynloader/darwin.c to src/backend/port/dynloader.c > config.status: linking src/backend/port/sysv_sema.c to src/backend/port/pg_sema.c > config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c > config.status: linking src/backend/port/unix_latch.c to src/backend/port/pg_latch.c > config.status: linking src/backend/port/dynloader/darwin.h to src/include/dynloader.h > config.status: linking src/include/port/darwin.h to src/include/pg_config_os.h > config.status: linking src/makefiles/Makefile.darwin to src/Makefile.port > > $ make all > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C port all > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o chklocale.o chklocale.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o dirmod.o dirmod.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o erand48.o erand48.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o exec.o exec.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fls.o fls.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o inet_net_ntop.o inet_net_ntop.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o noblock.o noblock.c > echo "#define PGBINDIR \"/bin\"" >pg_config_paths.h > echo "#define PGSHAREDIR \"/share/postgresql\"" >>pg_config_paths.h > echo "#define SYSCONFDIR \"/etc/postgresql\"" >>pg_config_paths.h > echo "#define INCLUDEDIR \"/include\"" >>pg_config_paths.h > echo "#define PKGINCLUDEDIR \"/include/postgresql\"" >>pg_config_paths.h > echo "#define INCLUDEDIRSERVER \"/include/postgresql/server\"" >>pg_config_paths.h > echo "#define LIBDIR \"/lib\"" >>pg_config_paths.h > echo "#define PKGLIBDIR \"/lib/postgresql\"" >>pg_config_paths.h > echo "#define LOCALEDIR \"/share/locale\"" >>pg_config_paths.h > echo "#define DOCDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h > echo "#define HTMLDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h > echo "#define MANDIR \"/share/man\"" >>pg_config_paths.h > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o path.o path.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgcheckdir.o pgcheckdir.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pg_crc.o pg_crc.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgmkdirp.o pgmkdirp.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgsleep.o pgsleep.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgstrcasecmp.o pgstrcasecmp.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o qsort.o qsort.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o qsort_arg.o qsort_arg.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o sprompt.o sprompt.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o thread.o thread.c > ar crs libpgport.a chklocale.o dirmod.o erand48.o exec.o fls.o inet_net_ntop.o noblock.o path.o pgcheckdir.o pg_crc.o pgmkdirp.o pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend submake-errcodes > prereqdir=`cd 'utils/' >/dev/null && pwd` && \ > cd '../../src/include/utils/' && rm -f errcodes.h && \ > ln -s "$prereqdir/errcodes.h" . > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c chklocale.c -o chklocale_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c dirmod.c -o dirmod_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c erand48.c -o erand48_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c exec.c -o exec_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c fls.c -o fls_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c inet_net_ntop.c -o inet_net_ntop_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c noblock.c -o noblock_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c path.c -o path_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgcheckdir.c -o pgcheckdir_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pg_crc.c -o pg_crc_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgmkdirp.c -o pgmkdirp_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgsleep.c -o pgsleep_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgstrcasecmp.c -o pgstrcasecmp_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c qsort.c -o qsort_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c qsort_arg.c -o qsort_arg_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c sprompt.c -o sprompt_srv.o > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c thread.c -o thread_srv.o > ar crs libpgport_srv.a chklocale_srv.o dirmod_srv.o erand48_srv.o exec_srv.o fls_srv.o inet_net_ntop_srv.o noblock_srv.o path_srv.o pgcheckdir_srv.o pg_crc_srv.o pgmkdirp_srv.o pgsleep_srv.o pgstrcasecmp_srv.o qsort_srv.o qsort_arg_srv.o sprompt_srv.o thread_srv.o > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C timezone all > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o localtime.o localtime.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o strftime.o strftime.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgtz.o pgtz.c > ( echo src/timezone/localtime.o src/timezone/strftime.o src/timezone/pgtz.o ) >objfiles.txt > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o zic.o zic.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ialloc.o ialloc.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o scheck.o scheck.c > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../src/port all > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend submake-errcodes > make[4]: Nothing to be done for `submake-errcodes'. > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv zic.o ialloc.o scheck.o localtime.o -L../../src/port -lpthread -L/usr/local/lib -L/usr/local/lib -Wl,-dead_strip_dylibs -lpgport -lxml2 -lpam -lssl -lcrypto -lkrb5 -lz -lreadline -lm -o zic > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C gtm all > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C client all > ( echo src/gtm/client/fe-misc.o src/gtm/client/fe-connect.o src/gtm/client/gtm_client.o src/gtm/client/fe-protocol.o src/gtm/client/ip.o src/gtm/client/pqexpbuffer.o ) >objfiles.txt > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-misc.o fe-misc.c > fe-misc.c:168:10: warning: comparison of unsigned expression < 0 is always false > [-Wtautological-compare] > if (len < 0 || len > (size_t) (conn->inEnd - conn->inCursor)) > ~~~ ^ ~ > 1 warning generated. > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-connect.o fe-connect.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_client.o gtm_client.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-protocol.o fe-protocol.c > fe-protocol.c:572:40: warning: incompatible pointer types assigning to 'GTM_SeqInfo *' > (aka 'struct GTM_SeqInfo *') from 'GTM_SeqInfo **' (aka 'struct GTM_SeqInfo **'); > dereference with * [-Wincompatible-pointer-types] > result->gr_resdata.grd_seq_list.seq = > ^ > 1 warning generated. > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqexpbuffer.o pqexpbuffer.c > ar crs libgtmclient.a fe-misc.o fe-connect.o gtm_client.o fe-protocol.o ip.o pqexpbuffer.o > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C common all > ( echo src/gtm/common/gtm_utils.o src/gtm/common/gtm_lock.o src/gtm/common/gtm_serialize.o src/gtm/common/gtm_serialize_debug.o src/gtm/common/aset.o src/gtm/common/assert.o src/gtm/common/elog.o src/gtm/common/mcxt.o src/gtm/common/stringinfo.o src/gtm/common/gtm_list.o ) >objfiles.txt > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_utils.o gtm_utils.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_lock.o gtm_lock.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_serialize.o gtm_serialize.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_serialize_debug.o gtm_serialize_debug.c > gtm_serialize_debug.c:39:37: warning: format specifies type 'long' but the argument has > type 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] > elog(DEBUG1, "gti_thread_id: %ld", txn->gti_thread_id); > ~~~ ^~~~~~~~~~~~~~~~~~ > 1 warning generated. > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o aset.o aset.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o assert.o assert.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o elog.o elog.c > elog.c:117:17: warning: comparison between pointer and integer ('int' and 'GTM_ThreadID' > (aka 'struct _opaque_pthread_t *')) > if (log_my_pid != MyThreadID) > ~~~~~~~~~~ ^ ~~~~~~~~~~ > elog.c:120:14: warning: incompatible pointer to integer conversion assigning to 'int' from > 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wint-conversion] > log_my_pid = MyThreadID; > ^ ~~~~~~~~~~ > elog.c:147:34: warning: format specifies type 'unsigned long' but the argument has type > 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] > appendStringInfo(buf, "%lu", MyThreadID); > ~~~ ^~~~~~~~~~ > ../../../src/include/gtm/gtm.h:121:23: note: expanded from macro 'MyThreadID' > #define MyThreadID (GetMyThreadInfo->thr_id) > ^~~~~~~~~~~~~~~~~~~~~~~~~ > 3 warnings generated. > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o mcxt.o mcxt.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o stringinfo.o stringinfo.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_list.o gtm_list.c > ar crs libgtmcommon.a gtm_utils.o gtm_lock.o gtm_serialize.o gtm_serialize_debug.o aset.o assert.o elog.o mcxt.o stringinfo.o gtm_list.o > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C config all > ( echo src/gtm/config/gtm_opt_handler.o ) >objfiles.txt > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_opt_handler.o gtm_opt_handler.c > ar crs libgtmconfig.a gtm_opt_handler.o > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C libpq all > ( echo src/gtm/libpq/ip.o src/gtm/libpq/pqcomm.o src/gtm/libpq/pqformat.o src/gtm/libpq/strlcpy.o src/gtm/libpq/pqsignal.o ) >objfiles.txt > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqcomm.o pqcomm.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqformat.o pqformat.c > gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o strlcpy.o strlcpy.c > strlcpy.c:46:1: error: expected parameter declarator > strlcpy(char *dst, const char *src, size_t siz) > ^ > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' > #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... > ^ > /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' > # define _USE_FORTIFY_LEVEL 2 > ^ > strlcpy.c:46:1: error: expected ')' > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' > #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... > ^ > /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' > # define _USE_FORTIFY_LEVEL 2 > ^ > strlcpy.c:46:1: note: to match this '(' > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > /usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' > #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... > ^ > strlcpy.c:46:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] > strlcpy(char *dst, const char *src, size_t siz) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^~~~~~~~~~~~~~~~~~~~ > /usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' > #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... > ^~~~~~~~~~~~~~~~~~~~~ > strlcpy.c:46:1: error: conflicting types for '__builtin___strlcpy_chk' > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > strlcpy.c:46:1: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long > (char *, const char *, unsigned long, unsigned long)' > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > strlcpy.c:46:1: error: definition of builtin function '__builtin___strlcpy_chk' > strlcpy(char *dst, const char *src, size_t siz) > ^ > /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' > __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) > ^ > 1 warning and 4 errors generated. > make[3]: *** [strlcpy.o] Error 1 > make[2]: *** [all-libpq-recurse] Error 2 > make[1]: *** [all-gtm-recurse] Error 2 > make: *** [all-src-recurse] Error 2 > > Best, > > David > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:29:32
|
The master was updated with master_pg93_merge and it was found that we still need some more work to stabilize it, some conflict and errors found in DBT-1 benchmark run. Please allow a bit more for stabilization. My apology for the inconvenience. --- Koichi Suzuki |
From: Koichi S. <koi...@gm...> - 2014-01-31 01:26:47
|
Sorry, I'm trying to find a tinge to test it. Best; --- Koichi Suzuki 2014-01-31 David E. Wheeler <da...@ju...>: > On Jan 28, 2014, at 5:45 PM, David E. Wheeler <da...@ju...> wrote: > >> I was trying to diagnose this issue: >> >> psql --set ON_ERROR_ROLLBACK=1 --set ON_ERROR_STOP=1 --file pg.sql >> psql:pg.sql:3: ERROR: SAVEPOINT is not yet supported. >> >> The first three lines are: >> >> BEGIN; >> >> SET client_min_messages = warning; >> CREATE SCHEMA sqitch; >> >> I had thought that it was the CREATE SCHEMA statement it was complaining about, so I tried this: >> >> psql -d repcluster --set ON_ERROR_ROLLBACK=1 -c 'BEGIN; CREATE SCHEMA foo; COMMIT;' >> ERROR: Failed to PREPARE the transaction on one or more nodes > > So, I think the problem is that ON_ERROR_ROLLBACK=1 implicitly uses savepoints. From the docs: > >> ON_ERROR_ROLLBACK >> When on, if a statement in a transaction block generates an error, >> the error is ignored and the transaction continues. When >> interactive, such errors are only ignored in interactive sessions, >> and not when reading script files. When off (the default), a >> statement in a transaction block that generates an error aborts >> the entire transaction. The on_error_rollback-on mode works by >> issuing an implicit SAVEPOINT for you, just before each command >> that is in a transaction block, and rolls back to the savepoint on >> error. > > So you guys might want to document that this option is not supported. > > In fact, I was not able to get this example to work at all: > > $ psql --command 'BEGIN; CREATE SCHEMA foo; COMMIT;' > ERROR: Failed to PREPARE the transaction on one or more nodes > > The log for my local data node has: > > 2014-01-30 15:12:29 PST dwheeler 10.4.34.1(45978) 25740 52eadc5d.648c WARNING: there is already a transaction in progress > 2014-01-30 15:12:29 PST dwheeler 10.4.34.1(45978) 25740 52eadc5d.648c WARNING: there is no transaction in progress > > Ah, I see, the docs for --command explain this: > > If the command string contains multiple SQL commands, they are > processed in a single transaction, > > So I guess I will get rid of the transaction stuff in my script. > > Thanks, > > David > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: David E. W. <da...@ju...> - 2014-01-31 01:20:40
|
On Jan 30, 2014, at 5:04 PM, David E. Wheeler <da...@ju...> wrote: > I can work around it by schema-qualifying objects, but would rather not have to. Another search_path issue: If you have schema-qualified a data type in a table column, queries will fail against that table: dwheeler=# create schema bar; CREATE SCHEMA dwheeler=# create type bar.lol as enum ('a', 'b'); CREATE TYPE dwheeler=# create table bar.hey (lol bar.lol) DISTRIBUTE BY REPLICATION; CREATE TABLE dwheeler=# select * from bar.hey; ERROR: type "lol" does not exist I guess the workaround would be to set the search_path to include all my schemas on in all the coordinator and data node postgresql.conf files? Thanks, David |
From: David E. W. <da...@ju...> - 2014-01-31 01:05:10
|
XCers, I have a script that looks like this: BEGIN; SET client_min_messages TO warning; SET search_path TO geo; CREATE TABLE continents ( code CHARACTER(2) PRIMARY KEY, continent TEXT NOT NULL ); I ran this against a coordinator, and it seemed to work. But when I tried to select from the table, XC said it could not be found. \d geo.continents shows it, but only on the coordinator on which I ran the script. If I connect to any other coordinator or any data node, the continents table is in the public schema rather than the geo schema. Bug? I don't see any mentinon of SET not being distributed in the SET docs: http://postgres-xc.sourceforge.net/docs/1_1/sql-set.html I can work around it by schema-qualifying objects, but would rather not have to. Thanks, David |
From: David E. W. <da...@ju...> - 2014-01-31 00:27:28
|
XCers, Sqitch has a query that looks like this: INSERT INTO tags ( tag_id , tag , project , change_id , note , committer_name , committer_email , planned_at , planner_name , planner_email ) SELECT tid, tg, proj, chid, n, name, email, at, pname, pemail FROM ( VALUES (?, ?, ?, ?, ?, ?, ?, ?::timestamptz, ?, ?) ) i(tid, tg, proj, chid, n, name, email, at, pname, pemail) LEFT JOIN tags ON i.tid = tags.tag_id WHERE tags.tag_id IS NULL Works fine on 8.4-9.3, but XC does not like it: ERROR: unexpected varno 6 in JOIN RTE 5 I have no idea what that means. I tried renaming some of the column aliases in the VALUES subselect, but it made not difference. Any ideas? Thanks, David |
From: David E. W. <da...@ju...> - 2014-01-31 00:09:12
|
XCers, I tried to build 1.1 on my Mac, but it wasn't happy trying to build libpq. Details: $ uname -a Darwin dwhee-ma-2944 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 $ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix $ ./configure --with-bonjour --with-perl PERL=$PERL \ > --with-openssl --with-pam --with-krb5 --with-libxml \ > --with-ossp-uuid --with-includes=/usr/local/include \ > --enable-integer-datetimes --with-zlib \ > --with-libs=/usr/local/lib --prefix=$BASE || exit $? checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking which template to use... darwin checking whether to build with 64-bit integer date/time support... yes checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for WAL segment size... 16MB checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc supports -Wdeclaration-after-statement... yes checking whether gcc supports -Wendif-labels... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wformat-security... yes checking whether gcc supports -fno-strict-aliasing... yes checking whether gcc supports -fwrapv... yes checking whether gcc supports -fexcess-precision=standard... no checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking allow thread-safe client libraries... yes checking whether to build with Tcl... no checking whether to build Perl modules... yes checking whether to build Python modules... no checking whether to build with GSSAPI support... no checking whether to build with Kerberos 5 support... yes checking whether to build with PAM support... yes checking whether to build with LDAP support... no checking whether to build with Bonjour support... yes checking whether to build with OpenSSL support... yes checking whether to build with SELinux support... no checking for xml2-config... xml2-config checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... no checking for ar... ar checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for a thread-safe mkdir -p... config/install-sh -c -d checking for bison... /usr/bin/bison configure: using bison (GNU Bison) 2.3 checking for flex... /usr/bin/flex configure: using flex 2.5.35 Apple(flex-31) checking for perl... /usr/local/bin/perl configure: using perl 5.18.2 checking for Perl archlibexp... /usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level checking for Perl privlibexp... /usr/local/lib/perl5/5.18.2 checking for Perl useshrplib... true checking for flags to link embedded Perl... -fstack-protector -L/usr/local/lib -L/usr/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... none required checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... none required checking for library containing fdatasync... none required checking for library containing gethostbyname_r... no checking for library containing shmget... none required checking for library containing readline... -lreadline checking for inflate in -lz... yes checking for library containing com_err... -lkrb5 checking for library containing krb5_sendauth... none required checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for pam_start in -lpam... yes checking for xmlSaveToBuffer in -lxml2... yes checking for uuid_export in -lossp-uuid... no checking for uuid_export in -luuid... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/ucred.h usability... yes checking sys/ucred.h presence... yes checking for sys/ucred.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking dns_sd.h usability... yes checking dns_sd.h presence... yes checking for dns_sd.h... yes checking ossp/uuid.h usability... no checking ossp/uuid.h presence... yes configure: WARNING: ossp/uuid.h: present but cannot be compiled configure: WARNING: ossp/uuid.h: check for missing prerequisite headers? configure: WARNING: ossp/uuid.h: see the Autoconf documentation configure: WARNING: ossp/uuid.h: section "Present But Cannot Be Compiled" configure: WARNING: ossp/uuid.h: proceeding with the preprocessor's result configure: WARNING: ossp/uuid.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------- ## configure: WARNING: ## Report this to pgs...@po... ## configure: WARNING: ## ---------------------------------------- ## checking for ossp/uuid.h... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for quiet inline (no complaint if unreferenced)... yes checking for preprocessor stringizing operator... yes checking for flexible array members... yes checking for signed types... yes checking for working volatile... yes checking for __func__... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for tzname... yes checking for union semun... yes checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... yes checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... yes checking for struct addrinfo... yes checking for intptr_t... yes checking for uintptr_t... yes checking for long long int... yes checking for locale_t... yes (in xlocale.h) checking for struct cmsgcred... no checking for struct option... yes checking for z_streamp... yes checking for krb5_ticket.enc_part2... yes checking for krb5_error.text.data... yes checking for krb5_free_unparsed_name... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... 8 checking for int timezone... yes checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking whether gettimeofday takes only one argument... no checking for cbrt... yes checking for dlopen... yes checking for fdatasync... yes checking for getifaddrs... yes checking for getpeerucred... no checking for getrlimit... yes checking for mbstowcs_l... yes checking for memmove... yes checking for poll... yes checking for pstat... no checking for readlink... yes checking for setproctitle... no checking for setsid... yes checking for sigprocmask... yes checking for symlink... yes checking for towlower... yes checking for utime... yes checking for utimes... yes checking for waitpid... yes checking for wcstombs... yes checking for wcstombs_l... yes checking for fseeko... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for posix_fadvise... no checking whether posix_fadvise is declared... no checking whether fdatasync is declared... no checking whether strlcat is declared... yes checking whether strlcpy is declared... yes checking whether F_FULLFSYNC is declared... yes checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for snprintf... yes checking for vsnprintf... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for isinf... yes checking for crypt... yes checking for fls... yes checking for getopt... yes checking for getrusage... yes checking for inet_aton... yes checking for random... yes checking for rint... yes checking for srandom... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for unsetenv... yes checking for getpeereid... yes checking for getaddrinfo... yes checking for getopt_long... yes checking for sigsetjmp... yes checking whether sys_siglist is declared... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... yes checking for strtoll... yes checking for strtoull... yes checking for builtin locking functions... yes checking for rl_completion_append_character... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for append_history... yes checking for history_truncate_file... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... yes checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for the pthreads library -lpthreadGC2... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... no checking whether getpwuid_r takes a fifth argument... yes checking whether strerror_r returns int... yes checking test program... ok checking whether long int is 64 bits... yes checking size of void *... 8 checking size of size_t... 8 checking size of long... 8 checking whether to build with float4 passed by value... yes checking whether to build with float8 passed by value... yes checking alignment of short... 2 checking alignment of int... 4 checking alignment of long... 8 checking alignment of double... 8 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for sig_atomic_t... yes checking for POSIX signal interface... yes checking for working memcmp... yes checking for onsgmls... no checking for nsgmls... no checking for openjade... no checking for jade... no checking for DocBook V4.2... no checking for DocBook stylesheets... no checking for collateindex.pl... no checking for xsltproc... xsltproc checking for osx... no checking for sgml2xml... no checking for sx... no checking thread safety of required library functions... yes checking whether gcc supports -Wl,-dead_strip_dylibs... yes Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 configure: using compiler=Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) configure: using CFLAGS=-DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv configure: using CPPFLAGS= -I/usr/local/include/libxml2 -I/usr/local/include configure: using LDFLAGS= -L/usr/local/lib -L/usr/local/lib -Wl,-dead_strip_dylibs configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: src/include/pg_config.h is unchanged config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: src/interfaces/ecpg/include/ecpg_config.h is unchanged config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking src/backend/port/dynloader/darwin.c to src/backend/port/dynloader.c config.status: linking src/backend/port/sysv_sema.c to src/backend/port/pg_sema.c config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking src/backend/port/unix_latch.c to src/backend/port/pg_latch.c config.status: linking src/backend/port/dynloader/darwin.h to src/include/dynloader.h config.status: linking src/include/port/darwin.h to src/include/pg_config_os.h config.status: linking src/makefiles/Makefile.darwin to src/Makefile.port $ make all /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all /Applications/Xcode.app/Contents/Developer/usr/bin/make -C port all gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o chklocale.o chklocale.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o dirmod.o dirmod.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o erand48.o erand48.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o exec.o exec.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fls.o fls.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o inet_net_ntop.o inet_net_ntop.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o noblock.o noblock.c echo "#define PGBINDIR \"/bin\"" >pg_config_paths.h echo "#define PGSHAREDIR \"/share/postgresql\"" >>pg_config_paths.h echo "#define SYSCONFDIR \"/etc/postgresql\"" >>pg_config_paths.h echo "#define INCLUDEDIR \"/include\"" >>pg_config_paths.h echo "#define PKGINCLUDEDIR \"/include/postgresql\"" >>pg_config_paths.h echo "#define INCLUDEDIRSERVER \"/include/postgresql/server\"" >>pg_config_paths.h echo "#define LIBDIR \"/lib\"" >>pg_config_paths.h echo "#define PKGLIBDIR \"/lib/postgresql\"" >>pg_config_paths.h echo "#define LOCALEDIR \"/share/locale\"" >>pg_config_paths.h echo "#define DOCDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h echo "#define HTMLDIR \"/share/doc-xc//postgresql\"" >>pg_config_paths.h echo "#define MANDIR \"/share/man\"" >>pg_config_paths.h gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o path.o path.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgcheckdir.o pgcheckdir.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pg_crc.o pg_crc.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgmkdirp.o pgmkdirp.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgsleep.o pgsleep.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgstrcasecmp.o pgstrcasecmp.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o qsort.o qsort.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o qsort_arg.o qsort_arg.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o sprompt.o sprompt.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o thread.o thread.c ar crs libpgport.a chklocale.o dirmod.o erand48.o exec.o fls.o inet_net_ntop.o noblock.o path.o pgcheckdir.o pg_crc.o pgmkdirp.o pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend submake-errcodes prereqdir=`cd 'utils/' >/dev/null && pwd` && \ cd '../../src/include/utils/' && rm -f errcodes.h && \ ln -s "$prereqdir/errcodes.h" . gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c chklocale.c -o chklocale_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c dirmod.c -o dirmod_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c erand48.c -o erand48_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c exec.c -o exec_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c fls.c -o fls_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c inet_net_ntop.c -o inet_net_ntop_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c noblock.c -o noblock_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c path.c -o path_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgcheckdir.c -o pgcheckdir_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pg_crc.c -o pg_crc_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgmkdirp.c -o pgmkdirp_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgsleep.c -o pgsleep_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c pgstrcasecmp.c -o pgstrcasecmp_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c qsort.c -o qsort_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c qsort_arg.c -o qsort_arg_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c sprompt.c -o sprompt_srv.o gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c thread.c -o thread_srv.o ar crs libpgport_srv.a chklocale_srv.o dirmod_srv.o erand48_srv.o exec_srv.o fls_srv.o inet_net_ntop_srv.o noblock_srv.o path_srv.o pgcheckdir_srv.o pg_crc_srv.o pgmkdirp_srv.o pgsleep_srv.o pgstrcasecmp_srv.o qsort_srv.o qsort_arg_srv.o sprompt_srv.o thread_srv.o /Applications/Xcode.app/Contents/Developer/usr/bin/make -C timezone all gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o localtime.o localtime.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o strftime.o strftime.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgtz.o pgtz.c ( echo src/timezone/localtime.o src/timezone/strftime.o src/timezone/pgtz.o ) >objfiles.txt gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o zic.o zic.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ialloc.o ialloc.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o scheck.o scheck.c /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../src/port all /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../backend submake-errcodes make[4]: Nothing to be done for `submake-errcodes'. gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv zic.o ialloc.o scheck.o localtime.o -L../../src/port -lpthread -L/usr/local/lib -L/usr/local/lib -Wl,-dead_strip_dylibs -lpgport -lxml2 -lpam -lssl -lcrypto -lkrb5 -lz -lreadline -lm -o zic /Applications/Xcode.app/Contents/Developer/usr/bin/make -C gtm all /Applications/Xcode.app/Contents/Developer/usr/bin/make -C client all ( echo src/gtm/client/fe-misc.o src/gtm/client/fe-connect.o src/gtm/client/gtm_client.o src/gtm/client/fe-protocol.o src/gtm/client/ip.o src/gtm/client/pqexpbuffer.o ) >objfiles.txt gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-misc.o fe-misc.c fe-misc.c:168:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (len < 0 || len > (size_t) (conn->inEnd - conn->inCursor)) ~~~ ^ ~ 1 warning generated. gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-connect.o fe-connect.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_client.o gtm_client.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o fe-protocol.o fe-protocol.c fe-protocol.c:572:40: warning: incompatible pointer types assigning to 'GTM_SeqInfo *' (aka 'struct GTM_SeqInfo *') from 'GTM_SeqInfo **' (aka 'struct GTM_SeqInfo **'); dereference with * [-Wincompatible-pointer-types] result->gr_resdata.grd_seq_list.seq = ^ 1 warning generated. gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqexpbuffer.o pqexpbuffer.c ar crs libgtmclient.a fe-misc.o fe-connect.o gtm_client.o fe-protocol.o ip.o pqexpbuffer.o /Applications/Xcode.app/Contents/Developer/usr/bin/make -C common all ( echo src/gtm/common/gtm_utils.o src/gtm/common/gtm_lock.o src/gtm/common/gtm_serialize.o src/gtm/common/gtm_serialize_debug.o src/gtm/common/aset.o src/gtm/common/assert.o src/gtm/common/elog.o src/gtm/common/mcxt.o src/gtm/common/stringinfo.o src/gtm/common/gtm_list.o ) >objfiles.txt gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_utils.o gtm_utils.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_lock.o gtm_lock.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_serialize.o gtm_serialize.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_serialize_debug.o gtm_serialize_debug.c gtm_serialize_debug.c:39:37: warning: format specifies type 'long' but the argument has type 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] elog(DEBUG1, "gti_thread_id: %ld", txn->gti_thread_id); ~~~ ^~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o aset.o aset.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o assert.o assert.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o elog.o elog.c elog.c:117:17: warning: comparison between pointer and integer ('int' and 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *')) if (log_my_pid != MyThreadID) ~~~~~~~~~~ ^ ~~~~~~~~~~ elog.c:120:14: warning: incompatible pointer to integer conversion assigning to 'int' from 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wint-conversion] log_my_pid = MyThreadID; ^ ~~~~~~~~~~ elog.c:147:34: warning: format specifies type 'unsigned long' but the argument has type 'GTM_ThreadID' (aka 'struct _opaque_pthread_t *') [-Wformat] appendStringInfo(buf, "%lu", MyThreadID); ~~~ ^~~~~~~~~~ ../../../src/include/gtm/gtm.h:121:23: note: expanded from macro 'MyThreadID' #define MyThreadID (GetMyThreadInfo->thr_id) ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o mcxt.o mcxt.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o stringinfo.o stringinfo.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_list.o gtm_list.c ar crs libgtmcommon.a gtm_utils.o gtm_lock.o gtm_serialize.o gtm_serialize_debug.o aset.o assert.o elog.o mcxt.o stringinfo.o gtm_list.o /Applications/Xcode.app/Contents/Developer/usr/bin/make -C config all ( echo src/gtm/config/gtm_opt_handler.o ) >objfiles.txt gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o gtm_opt_handler.o gtm_opt_handler.c ar crs libgtmconfig.a gtm_opt_handler.o /Applications/Xcode.app/Contents/Developer/usr/bin/make -C libpq all ( echo src/gtm/libpq/ip.o src/gtm/libpq/pqcomm.o src/gtm/libpq/pqformat.o src/gtm/libpq/strlcpy.o src/gtm/libpq/pqsignal.o ) >objfiles.txt gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip.o ip.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqcomm.o pqcomm.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pqformat.o pqformat.c gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o strlcpy.o strlcpy.c strlcpy.c:46:1: error: expected parameter declarator strlcpy(char *dst, const char *src, size_t siz) ^ /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... ^ /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ strlcpy.c:46:1: error: expected ')' /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... ^ /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ strlcpy.c:46:1: note: to match this '(' /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ /usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... ^ strlcpy.c:46:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlcpy(char *dst, const char *src, size_t siz) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > ... ^~~~~~~~~~~~~~~~~~~~~ strlcpy.c:46:1: error: conflicting types for '__builtin___strlcpy_chk' /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ strlcpy.c:46:1: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ strlcpy.c:46:1: error: definition of builtin function '__builtin___strlcpy_chk' strlcpy(char *dst, const char *src, size_t siz) ^ /usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) ^ 1 warning and 4 errors generated. make[3]: *** [strlcpy.o] Error 1 make[2]: *** [all-libpq-recurse] Error 2 make[1]: *** [all-gtm-recurse] Error 2 make: *** [all-src-recurse] Error 2 Best, David |
From: David E. W. <da...@ju...> - 2014-01-30 23:16:29
|
On Jan 28, 2014, at 5:45 PM, David E. Wheeler <da...@ju...> wrote: > I was trying to diagnose this issue: > > psql --set ON_ERROR_ROLLBACK=1 --set ON_ERROR_STOP=1 --file pg.sql > psql:pg.sql:3: ERROR: SAVEPOINT is not yet supported. > > The first three lines are: > > BEGIN; > > SET client_min_messages = warning; > CREATE SCHEMA sqitch; > > I had thought that it was the CREATE SCHEMA statement it was complaining about, so I tried this: > > psql -d repcluster --set ON_ERROR_ROLLBACK=1 -c 'BEGIN; CREATE SCHEMA foo; COMMIT;' > ERROR: Failed to PREPARE the transaction on one or more nodes So, I think the problem is that ON_ERROR_ROLLBACK=1 implicitly uses savepoints. From the docs: > ON_ERROR_ROLLBACK > When on, if a statement in a transaction block generates an error, > the error is ignored and the transaction continues. When > interactive, such errors are only ignored in interactive sessions, > and not when reading script files. When off (the default), a > statement in a transaction block that generates an error aborts > the entire transaction. The on_error_rollback-on mode works by > issuing an implicit SAVEPOINT for you, just before each command > that is in a transaction block, and rolls back to the savepoint on > error. So you guys might want to document that this option is not supported. In fact, I was not able to get this example to work at all: $ psql --command 'BEGIN; CREATE SCHEMA foo; COMMIT;' ERROR: Failed to PREPARE the transaction on one or more nodes The log for my local data node has: 2014-01-30 15:12:29 PST dwheeler 10.4.34.1(45978) 25740 52eadc5d.648c WARNING: there is already a transaction in progress 2014-01-30 15:12:29 PST dwheeler 10.4.34.1(45978) 25740 52eadc5d.648c WARNING: there is no transaction in progress Ah, I see, the docs for --command explain this: If the command string contains multiple SQL commands, they are processed in a single transaction, So I guess I will get rid of the transaction stuff in my script. Thanks, David |
From: David E. W. <da...@ju...> - 2014-01-30 17:54:37
|
On Jan 29, 2014, at 11:14 PM, Ashutosh Bapat <ash...@en...> wrote: > It depends what APIs in Postgres are being used in PostGIS. We have modified a quite a few internal functions and structures e.g. standard_ProcessUtility() to work in cluster environment. Using those functions would break the object linkages. But anything which is SQL compatible with 10.1 will work against PGXC 2.0 if we get to catch up with PG by then. One may not need to modify the code in such cases, but would require to build the extension or binary again. Well, that seems a rather long way off, and RPMs can be renamed at that time, if appropriate. In the meantime, I think using the "xc11" suffix as I proposed is the way to go. Agreed? Best, David |
From: Michael P. <mic...@gm...> - 2014-01-30 13:29:58
|
> commit 1914b997320f06f1a2a4daba0595dd49b192c863 > Author: Koichi Suzuki <koi...@gm...> > Date: Thu Jan 30 18:53:01 2014 +0900 You should perhaps double-check the code with some grepping, there are still some rests of git conflicts. Here is for example one in ./configure: <<<<<<< HEAD Postgres-XC config.status 1.1devel ======= PostgreSQL config.status 9.3beta1 >>>>>>> e472b921406407794bab911c64655b8b82375196 Regards, -- Michael |
From: Ashutosh B. <ash...@en...> - 2014-01-30 07:14:09
|
On Wed, Jan 29, 2014 at 10:27 PM, David E. Wheeler <da...@ju...>wrote: > On Jan 28, 2014, at 11:00 PM, Ashutosh Bapat < > ash...@en...> wrote: > > > I like this idea. I think, at least for few versions of XC, we will have > some differences between PG and XC. But eventually, XC would declare two > version numbers XC version and PG version it's based on. In such case, it > would be expected that all the PG feature corresponding to that PG version > would be in corresponding XC version. Even now XC declares these two > things, but not necessarily everything in PG is supported. The list of > unsupported features/limitations is declared in the release notes. > > Do you anticipate XC being binary compatible with PG at some point? Will a > PostGIS compiled against Postgres 10.1 just work against PGXC 2.0? > > Hmm, It depends what APIs in Postgres are being used in PostGIS. We have modified a quite a few internal functions and structures e.g. standard_ProcessUtility() to work in cluster environment. Using those functions would break the object linkages. But anything which is SQL compatible with 10.1 will work against PGXC 2.0 if we get to catch up with PG by then. One may not need to modify the code in such cases, but would require to build the extension or binary again. > Best, > > David -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company |
From: David E. W. <da...@ju...> - 2014-01-30 01:13:35
|
On Jan 29, 2014, at 5:07 PM, Koichi Suzuki <koi...@gm...> wrote: > Year, utility command should be those handled by utility.c, almost all > the DDL statements. > > As to temporary objects in implicit 2PC, this can be a candidate for 1.3. So is there currently no way to create a temporary table from a function? What about inside a PL/pgSQL EXECUTE statement? Thanks, David |