Re: [GENERAL] Why PGDLLIMPORT is needed

2012-11-07 Thread Bruce Momjian
On Mon, Oct 29, 2012 at 04:41:05PM +0800, Craig Ringer wrote: > On 10/29/2012 02:05 PM, 高健 wrote: > > On /src/include/storage/proc.h: > > > > I saw the following line: > > > > extern PGDLLIMPORT PGPROC *MyProc; > > > > I want to know why PGDLLIMPORT is used here? > > > > Does it mean: exten PGP

Re: [GENERAL] Why PGDLLIMPORT is needed

2012-10-31 Thread Xiong He
t;; Subject: [GENERAL] Why PGDLLIMPORT is needed On /src/include/storage/proc.h: I saw the following line: extern PGDLLIMPORT PGPROC *MyProc; I want to know why PGDLLIMPORT is used here? Does it mean: exten PGPROC *MyProc; right?

Re: [GENERAL] Why PGDLLIMPORT is needed

2012-10-29 Thread Craig Ringer
On 10/29/2012 02:05 PM, 高健 wrote: > On /src/include/storage/proc.h: > > I saw the following line: > > extern PGDLLIMPORT PGPROC *MyProc; > > I want to know why PGDLLIMPORT is used here? > > Does it mean: exten PGPROC *MyProc; right? What platform are you working on? On Windows it's required

[GENERAL] Why PGDLLIMPORT is needed

2012-10-28 Thread 高健
On /src/include/storage/proc.h: I saw the following line: extern PGDLLIMPORT PGPROC *MyProc; I want to know why PGDLLIMPORT is used here? Does it mean: exten PGPROC *MyProc; right?