Permalink
Browse files

Minor documentation fixes in probabilistic estimator.

  • Loading branch information...
1 parent 64cd9bc commit 4c12d83a3d1b1800544c62b2b5949b1576955781 @tvondra committed Apr 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 probabilistic/README.md
View
@@ -12,7 +12,7 @@ The extension provides the following elements
* probabilistic_estimator data type (may be used for columns, in PL/pgSQL)
-* functions to work with the pcsa_estimator data type
+* functions to work with the probabilistic_estimator data type
* `probabilistic_size(nbytes int, nsalts int)`
* `probabilistic_init(nbytes int, nsalts int)`
@@ -55,7 +55,7 @@ and you can use it from a PL/pgSQL (or another PL) like this:
DO LANGUAGE plpgsql $$
DECLARE
- v_counter probabilistic_estimator := pcsa_init(4, 32);
+ v_counter probabilistic_estimator := probabilistic_init(4, 32);
v_estimate real;
BEGIN
PERFORM probabilistic_add_item(v_counter, 1);

0 comments on commit 4c12d83

Please sign in to comment.