From: | Tomas Vondra <tv(at)fuzzy(dot)cz> |
---|---|
To: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | FDW API / flow charts for the docs? |
Date: | 2013-10-16 23:35:25 |
Message-ID: | 525F22BD.6060505@fuzzy.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I've been experimenting with the new reworked FDW API to get familiar
with it. The postgres_fdw is a great source of knowledge (huge thanks to
Shigeru Hanada, KaiGai Kohei and everyone else who made this happen),
but in the end I had to draw some flow charts in Dia, to understand how
exactly do the functions interact, pass private data etc. in various
scenarios.
Attached is the set of flow charts, showing the sequence of callbacks
for all the supported commands (i.e. SELECT, INSERT, UPDATE, DELETE,
ANALYZE). Wouldn't it be useful to put something like this into the
docs? I mean, the FDW API is not going to get any simpler, and for me
this was a significant help.
regards
Tomas
Attachment | Content-Type | Size |
---|---|---|
fdw.dia | application/x-dia-diagram | 10.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fabrízio de Royes Mello | 2013-10-17 00:46:32 | Re: FDW API / flow charts for the docs? |
Previous Message | Peter Eisentraut | 2013-10-16 21:16:13 | Re: [PATCH] pg_sleep(interval) |