Reputation
1,039
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 8 25
Impact
~44k people reached

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.
Jul
2
awarded  Curious
Jun
16
comment increased tablespace but dba_tablespace_usage_metrics order shows same
yeah in this case it is 10G, we have 11 in some cases, but don't know if they exhibit the same behavior.
Jun
16
asked increased tablespace but dba_tablespace_usage_metrics order shows same
May
16
awarded  Popular Question