Reputation
1,068
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 8 26
Newest
 Caucus
Impact
~49k people reached

Jul
27
awarded  Caucus
Jul
18
comment NoSQL and RDBMS together?
That said the cqrs pattern is designed to facilitate your question
Jul
18
comment NoSQL and RDBMS together?
At this point postgres has xml, json natively and gis, and hstore (key,value) as extensions. Very little need for a nosql db if using postgres.
Jul
18
comment NOSQL Database for
Neo4j is relational via aggregate contrasted with relational via sets
May
12
awarded  Popular Question
Mar
23
awarded  Popular Question
Feb
11
awarded  Famous Question
Jan
4
awarded  Yearling
Oct
27
awarded  Notable Question
Oct
1
awarded  Popular Question
Sep
18
accepted transaction not processing?
Sep
18
asked how can I insert a long string into a blob using an insert statement?
Aug
5
awarded  Notable Question
Jul
30
answered transaction not processing?
Jul
30
asked transaction not processing?
Jul
28
accepted On reboot listeners don't start but restarting the service after will start them
Jul
24
answered On reboot listeners don't start but restarting the service after will start them
Jul
24
asked On reboot listeners don't start but restarting the service after will start them
Jul
8
comment How can I fake inet_client_addr() for unit tests in PostgreSQL?
I forget if in pgsql whether or not the signature is super important, but you could also do it as an optional parameter so if it's passed in it uses the passed in value, if not it uses inet_client_addr(), or if signatures are highly important have the sig without the extra param, delegate to the one with. Either way preserves the existing API while allowing testing of core logic.
Jul
8
comment How can I fake inet_client_addr() for unit tests in PostgreSQL?
inject the dependency? your_procedure( inet_client_addr() ) instead of an implicit call to it, no mocking/overriding required.