Portability hack for pg_global_prng_state.
Tom Lane <tgl@sss.pgh.pa.us>
Portability hack for pg_global_prng_state. PGDLLIMPORT is only appropriate for variables declared in the backend, not when the variable is coming from a library included in frontend code. (This isn't a particularly nice fix, but for now, use the same method employed elsewhere.) Discussion: https://postgr.es/m/E1mrWUD-000235-Hq@gemulon.postgresql.org
Files
| Path | Change | +/− |
|---|---|---|
| src/include/common/pg_prng.h | modified | +4 −0 |
Discussion
Cited messages not in the archive:
E1mrWUD-000235-Hq@gemulon.postgresql.org