Re: narwhal and PGDLLIMPORT
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2014-02-04T15:43:28Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
MinGW: Link with shell32.dll instead of shfolder.dll.
- 53566fc0940c 9.5.0 cited
-
Centralize getopt-related declarations in a new header file pg_getopt.h.
- 60ff2fdd9970 9.4.0 cited
-
Get rid of use of dlltool in Mingw builds.
- 846e91e0223c 9.4.0 cited
-
Export a few more symbols required for test_shm_mq module.
- 7d7eee8bb702 9.4.0 cited
-
Export set_latch_on_sigusr1 symbol for Windows.
- 708c529c7fde 9.4.0 cited
-
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
- 889f03812916 8.1.0 cited
Andres Freund <andres@2ndquadrant.com> writes: > On 2014-02-04 02:10:47 -0500, Tom Lane wrote: >> Meh. It might be that the DateStyle usage in postgres_fdw would >> accidentally fail to malfunction if it saw a bogus value of the variable. >> But it's hard to believe that this would be true of MainLWLockArray. > There's not that much lwlock usage in contrib. It's just > pg_stat_statements and pg_buffercache. Neither has tests... So it very > well could be that breakage simply hasn't been observed. Hm, you're right --- I'd have thought there were more of those. Ugh. This problem was bad enough when I thought that it would only lead to link-time errors detectable in the buildfarm. If it can lead to errors only observable at runtime --- and maybe not obvious even then --- then I think we *have to* do something about it. By that I mean that we must get rid of the need to manually plaster PGDLLIMPORT on global variables. Anybody with a Windows build environment want to test the "#define extern" trick? regards, tom lane