GithubHelp home page GithubHelp logo

timbira / krahodb Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 11.0 443.87 MB

An open-source database designed to support multi-master replication. It is designed on the top of PostgreSQL, providing bidirectional replication, as well as row filtering.

Home Page: https://www.timbira.com.br/krahodb

License: Other

Emacs Lisp 0.01% Makefile 0.72% M4 0.25% Shell 0.18% TSQL 1.89% SQLPL 0.67% C 83.10% PLpgSQL 5.75% Perl 2.13% C++ 2.14% Yacc 1.40% Lex 0.51% Objective-C 0.81% PLSQL 0.02% Ruby 0.21% Python 0.12% Assembly 0.01% Roff 0.07% sed 0.01% DTrace 0.01%
multi-master postgresql replication

krahodb's People

Contributors

adunstan avatar akorotkov avatar alvherre avatar anarazel avatar bmomjian avatar darcyjcain avatar dbdbdb avatar deanrasheed avatar feodor avatar grunthos avatar hlinnaka avatar itgacky avatar jconway avatar kgrittn avatar macdice avatar masaofujii avatar mhagander avatar michaelpq avatar nmisch avatar petere avatar petergeoghegan avatar rhodiumtoad avatar robertmhaas avatar scrappy avatar sfrost avatar simonat2ndquadrant avatar tatsuo-ishii avatar tglsfdc avatar tvondra avatar vadim4o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

krahodb's Issues

Compilation error on Debian Sid

While compiling on a Debian Sid installation I ran into the following errors:

/usr/bin/clang-9 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2  -flto=thin -emit-llvm -c -o walwriter.bc walwriter.c
parse_expr.c: In function ‘transformColumnRef’:
parse_expr.c:531:2: warning: enumeration value ‘EXPR_KIND_PUBLICATION_WHERE’ not handled in switch [-Wswitch]
  531 |  switch (pstate->p_expr_kind)
      |  ^~~~~~
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -fprofile-arcs -ftest-coverage -pg -DLINUX_PROFILE -fno-omit-frame-pointer -I. -I. -I../../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o parse_func.o parse_func.c -MMD -MP -MF .deps/parse_func.Po
pg_publication.c: In function ‘publication_add_relation’:
pg_publication.c:200:11: warning: passing argument 3 of ‘addRangeTableEntryForRelation’ makes integer from pointer without a cast [-Wint-conversion]
  200 |           NULL, false, false);
      |           ^~~~
      |           |
      |           void *
In file included from pg_publication.c:39:
../../../src/include/parser/parse_relation.h:70:23: note: expected ‘int’ but argument is of type ‘void *’
   70 | extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pg_publication.c:199:8: error: too few arguments to function ‘addRangeTableEntryForRelation’
  199 |  rte = addRangeTableEntryForRelation(pstate, targetrel->relation,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pg_publication.c:39:
../../../src/include/parser/parse_relation.h:70:23: note: declared here
   70 | extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/clang-9 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2  -flto=thin -emit-llvm -c -o tqueue.bc tqueue.c

parse_expr.c:531:10: warning: enumeration value 'EXPR_KIND_PUBLICATION_WHERE' not handled in switch [-Wswitch]
/usr/bin/clang-9 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2  -flto=thin -emit-llvm -c -o spi.bc spi.c
        switch (pstate->p_expr_kind)
                ^

The compile attempt exited as:

make: *** [GNUmakefile:11: all-src-recurse] Error 2

Can I also make a request for more documentation on krahodb - a basic "What it is" (i.e. is it a fork of PostgreSQL that is a drop in replacement) "How to configure it" "How to use it" would be helpful.

Thanks

Nikolai

Error occurred while installing

hi,
after downloading the file and configuring it, when I used "make -s -j 4" an error occurred:

pg_publication.c: In function ‘publication_add_relation’: pg_publication.c:200:11: warning: passing argument 3 of ‘addRangeTableEntryForRelation’ makes integer from pointer without a cast [-Wint-conversion] NULL, false, false); ^~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: expected ‘int’ but argument is of type ‘void *’ extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pg_publication.c:199:8: error: too few arguments to function ‘addRangeTableEntryForRelation’ rte = addRangeTableEntryForRelation(pstate, targetrel->relation, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: declared here extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <builtin>: recipe for target 'pg_publication.o' failed make[3]: *** [pg_publication.o] Error 1 make[3]: *** Waiting for unfinished jobs.... common.mk:39: recipe for target 'catalog-recursive' failed make[2]: *** [catalog-recursive] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:42: recipe for target 'install-backend-recurse' failed make[1]: *** [install-backend-recurse] Error 2 GNUmakefile:11: recipe for target 'install-src-recurse' failed make: *** [install-src-recurse] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.