mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
1) Most driver options could be set per DSN.
2) Keep FE/BE protocol more precisely. 3) Improve procedure calls. 4) A trial to avoid PREMATURE execution(#ifdef'd now). Hiroshi Inoue
This commit is contained in:
@ -126,10 +126,10 @@
|
||||
#define DEFAULT_EXTRASYSTABLEPREFIXES "dd_;"
|
||||
|
||||
/* prototypes */
|
||||
void getGlobalDefaults(char *section, char *filename, char override);
|
||||
void getCommonDefaults(const char *section, const char *filename, ConnInfo *ci);
|
||||
|
||||
#ifdef WIN32
|
||||
void SetDlgStuff(HWND hdlg, ConnInfo *ci);
|
||||
void SetDlgStuff(HWND hdlg, const ConnInfo *ci);
|
||||
void GetDlgStuff(HWND hdlg, ConnInfo *ci);
|
||||
|
||||
int CALLBACK driver_optionsProc(HWND hdlg,
|
||||
@ -144,11 +144,12 @@ int CALLBACK ds_optionsProc(HWND hdlg,
|
||||
#endif /* WIN32 */
|
||||
|
||||
void updateGlobals(void);
|
||||
void writeDSNinfo(ConnInfo *ci);
|
||||
void writeDSNinfo(const ConnInfo *ci);
|
||||
void getDSNdefaults(ConnInfo *ci);
|
||||
void getDSNinfo(ConnInfo *ci, char overwrite);
|
||||
void makeConnectString(char *connect_string, ConnInfo *ci);
|
||||
void copyAttributes(ConnInfo *ci, char *attribute, char *value);
|
||||
void makeConnectString(char *connect_string, const ConnInfo *ci, UWORD);
|
||||
void copyAttributes(ConnInfo *ci, const char *attribute, const char *value);
|
||||
void copyCommonAttributes(ConnInfo *ci, const char *attribute, const char *value);
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user