diff options
| author | Robert Haas | 2013-07-22 19:41:44 +0000 |
|---|---|---|
| committer | Robert Haas | 2013-07-22 19:41:44 +0000 |
| commit | 026bc46da33ab6a6f720b0d0500e8a95d075ab92 (patch) | |
| tree | d3c618d874a2e7f2ca919f5e5232983b0cfb5d46 /doc/src | |
| parent | 295f9bbf1d2d1e985471bd523c7c9bfd3d134759 (diff) | |
Back-patch bgworker API changes to 9.3.
Commit 7f7485a0cde92aa4ba235a1ffe4dda0ca0b6cc9a made these changes
in master; per discussion, backport the API changes (but not the
functional changes), so that people don't get used to the 9.3 API
only to see it get broken in the next release. There are already
some people coding to the original 9.3 API, and this will cause
minor breakage, but there will be even more if we wait until next
year to roll out these changes.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/bgworker.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml index 7d2ffd14fef..7ffeca5321a 100644 --- a/doc/src/sgml/bgworker.sgml +++ b/doc/src/sgml/bgworker.sgml @@ -40,12 +40,12 @@ typedef void (*bgworker_main_type)(void *main_arg); typedef struct BackgroundWorker { - char *bgw_name; + char bgw_name[BGW_MAXLEN]; int bgw_flags; BgWorkerStartTime bgw_start_time; int bgw_restart_time; /* in seconds, or BGW_NEVER_RESTART */ - bgworker_main_type bgw_main; - void *bgw_main_arg; + bgworker_main_type bgw_main; + Datum bgw_main_arg; } BackgroundWorker; </programlisting> </para> |
