[Pgpool-hackers] First try at rephrasing the documentation

Marc Cousin cousinmarc at gmail.com
Tue Jan 4 10:21:22 UTC 2011


> I proofreaded Marc's rewrite. It's mostly really good, but there are a
> few mistakes. Patch attached fixes them. The whole new file is also
> attached (with Marc's patch and mine).
> 
> So I think all is need is to put the last bit of informations Tatsuo
> gave you, to have a complete file.
> 
> Thanks for your work.
Here is another patch (version 3) to be applied on top of this one.

There are 3 items left (missing answers):


In the replication mode or master/slave mode, trust, clear text
      password, and pam methods are supported.
           clear text password is not supported. TODO: contradiction in the 
previous sentence




<code>JOIN</code>s like above will be executed on each backend, and
then merged with the results returned by each backend. Views and Rules
that join across the nodes cannot be created.
However, to JOIN tables that access data only in the same node, a VIEW can be 
made.
This VIEW is registered in the pgpool_catalog.dist_def table. A col_name and
a dist_def_func will have to be registered too. These are used when an insert 
is
performed on the view.
</p> TODO: I don't really get this one



The column names and types are needed when a query is analyzed in parallel 
mode.
Therefore, when an expression or a function is used in the TARGETLIST of
a subquery, the alias and type (through a cast) are needed. Please note that
if no cast is provided in an expression or a function, the text type will be
chosen as a default. For count(), bigint type is assumed, and for sum(),
numeric. For min()/max(), if the argument is a date type, returned datatype is 
date,
else, it is assumed numeric. avg() is processed as sum/count.
TODO : which one ? numeric or bigint ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool-en_v3.patch
Type: text/x-patch
Size: 3116 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110104/ba16c014/attachment.bin>


More information about the Pgpool-hackers mailing list