pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSSL Support?
7+ messages / 4 participants
[nested] [flat]
* SSL Support?
@ 2002-01-23 19:29 Mitch Vincent <mitch@doot.org>
0 siblings, 0 replies; 7+ messages in thread
From: Mitch Vincent @ 2002-01-23 19:29 UTC (permalink / raw)
To: pgsql-odbc
I'm new to ODBC, and Windows programming (though I've been programming with
PostgreSQL for years, never with ODBC from Windows.)
Is there any SSL support in the ODBC driver for PostgreSQL ?
Thanks!
-Mitch
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSL Support?
@ 2002-01-23 20:01 Mitch Vincent <mitch@doot.org>
2002-01-24 03:01 ` Re: SSL Support? Klemens Seydel <pierromail@gmx.de>
0 siblings, 1 reply; 7+ messages in thread
From: Mitch Vincent @ 2002-01-23 20:01 UTC (permalink / raw)
To: pgsql-odbc
Thanks!
I did check out the website and can't seem to find a link to a FAQ (and the
documentation didn't mention SSL as far as I could find).. Perhaps I'm
mistaken, sometimes things hide in plain view with me :-)
-Mitch
----- Original Message -----
From: "Cedar Cox" <cedarc@visionforisrael.com>
To: "Mitch Vincent" <mitch@doot.org>
Sent: Wednesday, January 23, 2002 1:46 PM
Subject: Re: [ODBC] SSL Support?
>
> No. (um.. IIRC. Read the docs/faqs). Use something like ssh tunnels..
> You should probably visit http://odbc.postgresql.org
>
> -Cedar
>
> On Wed, 23 Jan 2002, Mitch Vincent wrote:
>
> > I'm new to ODBC, and Windows programming (though I've been programming
with
> > PostgreSQL for years, never with ODBC from Windows.)
> >
> > Is there any SSL support in the ODBC driver for PostgreSQL ?
> >
> > Thanks!
> >
> > -Mitch
> >
>
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: SSL Support?
2002-01-23 20:01 Re: SSL Support? Mitch Vincent <mitch@doot.org>
@ 2002-01-24 03:01 ` Klemens Seydel <pierromail@gmx.de>
0 siblings, 0 replies; 7+ messages in thread
From: Klemens Seydel @ 2002-01-24 03:01 UTC (permalink / raw)
To: Mitch Vincent <mitch@doot.org>; +Cc: pgsql-odbc
Hi Mitch,
there will be no point in the faq's concerning the setup of secure
tunnels since it's no *PART* of postgresql but a way of *USING* it.
Setting up an SSL tunnel is really easy:
1. Get Stunnel (www.stunnel.org)
2. Unpack on Client, Unpack on Server
3. Run on Server:
stunnel-3.20.exe -p <pem-file> -d <sslextport> -r localhost:<dbport>
4. Run on Client:
stunnel-3.20.exe -c -d <localport> -r <server>:<sslextport>
5. Make your ODBC connection (yes I mean client side) listening
to localhost:<localport>
6. See it working
Now, if all works and you want to make it bombsafe, change your
database configuration to only accept new connections from the
inside "localhost"/"127.0.0.1" but no hosts else. The only way
the data can be still accessed, is from your brand new ssl tunnel
or the server machine itself.
You see it requires minimal a certificate (i.e. *.pem-file) on the
server side (optional on client side) suggesting you already got a
working certificate from your root authority. Get a simple (free)
certificate only for testing purposes from www.thawte.com.
They will contact you if you need a personal identity certificate
or a root key so you can be your own root authority, giving out
identity certs to your customers or workers or anybody else.
The Scheme is easy to understand:
[Server] SSL-Port [ ]<----- SSL on TC/IP ----->[ ] SSL-Port [Client]
| | | |
| | | |
| (stunnel sitting here) (stunnel sitting here) |
| (trusted) | |
| | | |
[ ] DB-Port | | DB-Port [ ]
|_________________| |________________|
That's just a sample config, working locally here on my machine, for a
custom project to be moved to internet soon. I only need to change the
hosts in config files from "localhost" to the corresponding server ip
address. I use newest winxp+mysql and rhlinux/pgsql the stuff works
fine on both systems (better should I say worlds?).
I hope, I lightened it out enough.
Regards from germany,
Klemens Seydel
AM-Soft - IT-Systeme
Hameln Leipzig Potsdam Berlin
Tel.: 05151-9468-0 034206-6593-0 0331-743881-0 030-8058693-0
Fax : 05151-9468-88 034206-6593-88 0331-743881-31 030-8058693-88
email : kseydel@am-soft.de http://www.am-soft.de
----- Original Message -----
From: "Mitch Vincent" <mitch@doot.org>
To: <pgsql-odbc@postgresql.org>
Sent: Wednesday, January 23, 2002 9:01 PM
Subject: Re: [ODBC] SSL Support?
> Thanks!
>
> I did check out the website and can't seem to find a link to a FAQ (and
the
> documentation didn't mention SSL as far as I could find).. Perhaps I'm
> mistaken, sometimes things hide in plain view with me :-)
>
> -Mitch
>
> ----- Original Message -----
> From: "Cedar Cox" <cedarc@visionforisrael.com>
> To: "Mitch Vincent" <mitch@doot.org>
> Sent: Wednesday, January 23, 2002 1:46 PM
> Subject: Re: [ODBC] SSL Support?
>
>
> >
> > No. (um.. IIRC. Read the docs/faqs). Use something like ssh tunnels..
> > You should probably visit http://odbc.postgresql.org
> >
> > -Cedar
> >
> > On Wed, 23 Jan 2002, Mitch Vincent wrote:
> >
> > > I'm new to ODBC, and Windows programming (though I've been programming
> with
> > > PostgreSQL for years, never with ODBC from Windows.)
> > >
> > > Is there any SSL support in the ODBC driver for PostgreSQL ?
> > >
> > > Thanks!
> > >
> > > -Mitch
> > >
> >
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* [Patch] SSL Support
@ 2005-07-22 13:27 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 7+ messages in thread
From: Dave Page @ 2005-07-22 13:27 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Anoop Kumar <anoopk@pervasive-postgres.com>
<<ssl.patch>> The attached patch adds SSL support to psqlODBC-libpq. If
there are no objections (Anoop in particular :-) ), I will apply it
within the next few days.
Regards, Dave.
Attachments:
ssl.patch (application/octet-stream, 18.6K) download
? Debug
? Release
? psqlodbc.aps
? ssl.patch
? installer/psqlodbc.msi
? installer/psqlodbc.msm
? installer/psqlodbc.wixobj
? installer/psqlodbclibpq-08_01_0001.zip
? installer/psqlodbclibpq-08_01_0002.zip
? installer/psqlodbcm.wixobj
Index: connection.c
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/connection.c,v
retrieving revision 1.97
diff -c -r1.97 connection.c
*** connection.c 20 Jul 2005 14:50:21 -0000 1.97
--- connection.c 22 Jul 2005 13:11:35 -0000
***************
*** 1248,1259 ****
return 0;
}
! mylog("CC_connect(): DSN = '%s', server = '%s', port = '%s',"
#ifdef HAVE_UNIX_SOCKETS
" uds = '%s',"
#endif
" database = '%s', username = '%s',"
! " password='%s'\n", ci->dsn, ci->server, ci->port,
#ifdef HAVE_UNIX_SOCKETS
ci->uds,
#endif
--- 1248,1259 ----
return 0;
}
! mylog("CC_connect(): DSN = '%s', server = '%s', port = '%s', sslmode = '%s'"
#ifdef HAVE_UNIX_SOCKETS
" uds = '%s',"
#endif
" database = '%s', username = '%s',"
! " password='%s'\n", ci->dsn, ci->server, ci->port, ci->sslmode,
#ifdef HAVE_UNIX_SOCKETS
ci->uds,
#endif
***************
*** 2632,2640 ****
return 0;
}
! mylog("CC_connect(): DSN = '%s', server = '%s', port = '%s',"
" database = '%s', username = '%s',"
! " password='%s'\n", ci->dsn, ci->server, ci->port,
ci->database, ci->username, ci->password ? "xxxxx" : "");
--- 2632,2640 ----
return 0;
}
! mylog("CC_connect(): DSN = '%s', server = '%s', port = '%s', sslmode = '%s',"
" database = '%s', username = '%s',"
! " password='%s'\n", ci->dsn, ci->server, ci->port, ci->sslmode,
ci->database, ci->username, ci->password ? "xxxxx" : "");
***************
*** 3096,3101 ****
--- 3096,3114 ----
}
+ if(self->connInfo.sslmode[0] != '\0')
+ {
+ size_t size = (sizeof(char) * (strlen(" sslmode=") + strlen(self->connInfo.sslmode) + 1));
+ conninfo = (char *)realloc(conninfo,size+strlen(conninfo));
+ if(!conninfo)
+ {
+ CC_set_error(self, CONN_MEMORY_ALLOCATION_FAILED,"Could not allocate memory for connection string(sslmode)");
+ mylog("i could not allocate memory for sslmode \n");
+ }
+ conninfo = strcat(conninfo," sslmode=");
+ conninfo = strcat(conninfo,self->connInfo.sslmode);
+ }
+
if(self->connInfo.password[0] != '\0')
{
size_t size = (sizeof(char) * (strlen(" password=") + strlen(self->connInfo.password) + 1));
Index: connection.h
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/connection.h,v
retrieving revision 1.64
diff -c -r1.64 connection.h
*** connection.h 13 Jul 2005 14:23:34 -0000 1.64
--- connection.h 22 Jul 2005 10:14:27 -0000
***************
*** 245,250 ****
--- 245,251 ----
char conn_settings[LARGE_REGISTRY_LEN];
char protocol[SMALL_REGISTRY_LEN];
char port[SMALL_REGISTRY_LEN];
+ char sslmode[MEDIUM_REGISTRY_LEN];
#ifdef HAVE_UNIX_SOCKETS
char uds[LARGE_REGISTRY_LEN];
#endif
Index: dlg_specific.c
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/dlg_specific.c,v
retrieving revision 1.62
diff -c -r1.62 dlg_specific.c
*** dlg_specific.c 13 Jul 2005 19:50:05 -0000 1.62
--- dlg_specific.c 22 Jul 2005 10:36:28 -0000
***************
*** 46,57 ****
BOOL abbrev = (len < 1024);
/* fundamental info */
! sprintf(connect_string, "%s=%s;DATABASE=%s;SERVER=%s;PORT=%s;UID=%s;PWD=%s",
got_dsn ? "DSN" : "DRIVER",
got_dsn ? ci->dsn : ci->drivername,
ci->database,
ci->server,
ci->port,
ci->username,
ci->password);
--- 46,58 ----
BOOL abbrev = (len < 1024);
/* fundamental info */
! sprintf(connect_string, "%s=%s;DATABASE=%s;SERVER=%s;PORT=%s;SSLMODE=%s;UID=%s;PWD=%s",
got_dsn ? "DSN" : "DRIVER",
got_dsn ? ci->dsn : ci->drivername,
ci->database,
ci->server,
ci->port,
+ ci->sslmode,
ci->username,
ci->password);
***************
*** 285,290 ****
--- 286,294 ----
else if (stricmp(attribute, INI_PORT) == 0)
strcpy(ci->port, value);
+
+ else if (stricmp(attribute, INI_SSLMODE) == 0 || stricmp(attribute, "sslmode") == 0)
+ strcpy(ci->sslmode, value);
#ifndef USE_LIBPQ
#ifdef HAVE_UNIX_SOCKETS
***************
*** 335,341 ****
else if (stricmp(attribute, "CX") == 0)
unfoldCXAttribute(ci, value);
! mylog("copyAttributes: DSN='%s',server='%s',dbase='%s',user='%s',passwd='%s',port='%s',onlyread='%s',protocol='%s',conn_settings='%s',disallow_premature=%d)\n", ci->dsn, ci->server, ci->database, ci->username, ci->password ? "xxxxx" : "", ci->port, ci->onlyread, ci->protocol, ci->conn_settings, ci->disallow_premature);
}
void
--- 339,345 ----
else if (stricmp(attribute, "CX") == 0)
unfoldCXAttribute(ci, value);
! mylog("copyAttributes: DSN='%s',server='%s',dbase='%s',user='%s',passwd='%s',port='%s',sslmode='%s',onlyread='%s',protocol='%s',conn_settings='%s',disallow_premature=%d)\n", ci->dsn, ci->server, ci->database, ci->username, ci->password ? "xxxxx" : "", ci->port, ci->sslmode, ci->onlyread, ci->protocol, ci->conn_settings, ci->disallow_premature);
}
void
***************
*** 406,411 ****
--- 410,418 ----
{
if (ci->port[0] == '\0')
strcpy(ci->port, DEFAULT_PORT);
+
+ if (ci->sslmode[0] == '\0')
+ strcpy(ci->sslmode, DEFAULT_SSLMODE);
if (ci->onlyread[0] == '\0')
sprintf(ci->onlyread, "%d", globals.onlyread);
***************
*** 499,504 ****
--- 506,514 ----
if (ci->port[0] == '\0' || overwrite)
SQLGetPrivateProfileString(DSN, INI_PORT, "", ci->port, sizeof(ci->port), ODBC_INI);
+ if (ci->sslmode[0] == '\0' || overwrite)
+ SQLGetPrivateProfileString(DSN, INI_SSLMODE, "", ci->sslmode, sizeof(ci->sslmode), ODBC_INI);
+
#ifndef USE_LIBPQ
#ifdef HAVE_UNIX_SOCKETS
if (ci->uds[0] == '\0' || overwrite)
***************
*** 738,743 ****
--- 748,758 ----
INI_PORT,
ci->port,
ODBC_INI);
+
+ SQLWritePrivateProfileString(DSN,
+ INI_SSLMODE,
+ ci->sslmode,
+ ODBC_INI);
#ifndef USE_LIBPQ
#ifdef HAVE_UNIX_SOCKETS
Index: dlg_specific.h
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/dlg_specific.h,v
retrieving revision 1.42
diff -c -r1.42 dlg_specific.h
*** dlg_specific.h 13 Jul 2005 14:23:35 -0000 1.42
--- dlg_specific.h 22 Jul 2005 10:40:25 -0000
***************
*** 43,48 ****
--- 43,49 ----
#define INI_KDESC "Description" /* Data source description */
#define INI_SERVER "Servername" /* Name of Server running PostgreSQL */
#define INI_PORT "Port" /* Port on which the Postmaster is listening */
+ #define INI_SSLMODE "SSLmode"
#if !defined WIN32 && defined HAVE_SYS_UN_H
#ifndef HAVE_UNIX_SOCKETS
***************
*** 129,134 ****
--- 130,136 ----
/* Connection Defaults */
#define DEFAULT_PORT "5432"
+ #define DEFAULT_SSLMODE "prefer"
#define DEFAULT_READONLY 0
#define DEFAULT_PROTOCOL "6.4" /* the latest protocol is the default */
#define DEFAULT_USEDECLAREFETCH 0
Index: dlg_wingui.c
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/dlg_wingui.c,v
retrieving revision 1.9
diff -c -r1.9 dlg_wingui.c
*** dlg_wingui.c 27 Aug 2003 10:17:53 -0000 1.9
--- dlg_wingui.c 22 Jul 2005 12:59:02 -0000
***************
*** 60,65 ****
--- 60,70 ----
SetDlgItemText(hdlg, IDC_USER, ci->username);
SetDlgItemText(hdlg, IDC_PASSWORD, ci->password);
SetDlgItemText(hdlg, IDC_PORT, ci->port);
+ SendDlgItemMessage(hdlg, IDC_SSLMODE, CB_ADDSTRING, 0, (LPARAM) ((LPSTR) "prefer" ));
+ SendDlgItemMessage(hdlg, IDC_SSLMODE, CB_ADDSTRING, 0, (LPARAM) ((LPSTR) "allow" ));
+ SendDlgItemMessage(hdlg, IDC_SSLMODE, CB_ADDSTRING, 0, (LPARAM) ((LPSTR) "require" ));
+ SendDlgItemMessage(hdlg, IDC_SSLMODE, CB_ADDSTRING, 0, (LPARAM) ((LPSTR) "disable" ));
+ SendDlgItemMessage(hdlg, IDC_SSLMODE, CB_SELECTSTRING, -1, (LPARAM) ((LPSTR) ci->sslmode ));
}
***************
*** 73,78 ****
--- 78,84 ----
GetDlgItemText(hdlg, IDC_USER, ci->username, sizeof(ci->username));
GetDlgItemText(hdlg, IDC_PASSWORD, ci->password, sizeof(ci->password));
GetDlgItemText(hdlg, IDC_PORT, ci->port, sizeof(ci->port));
+ GetDlgItemText(hdlg, IDC_SSLMODE, ci->sslmode, sizeof(ci->sslmode));
}
Index: libpqconnection.h
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/libpqconnection.h,v
retrieving revision 1.1
diff -c -r1.1 libpqconnection.h
*** libpqconnection.h 13 Jul 2005 14:23:36 -0000 1.1
--- libpqconnection.h 22 Jul 2005 10:38:36 -0000
***************
*** 211,216 ****
--- 211,217 ----
char conn_settings[LARGE_REGISTRY_LEN];
char protocol[SMALL_REGISTRY_LEN];
char port[SMALL_REGISTRY_LEN];
+ char sslmode[MEDIUM_REGISTRY_LEN];
char onlyread[SMALL_REGISTRY_LEN];
char fake_oid_index[SMALL_REGISTRY_LEN];
char show_oid_column[SMALL_REGISTRY_LEN];
Index: psqlodbc.rc
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/psqlodbc.rc,v
retrieving revision 1.55
diff -c -r1.55 psqlodbc.rc
*** psqlodbc.rc 13 Jul 2005 19:55:02 -0000 1.55
--- psqlodbc.rc 22 Jul 2005 12:55:43 -0000
***************
*** 39,53 ****
BEGIN
RTEXT "f|^\|X¼:(&N)",IDC_DSNAMETEXT,2,9,63,17,NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
! EDITTEXT IDC_DSNAME,71,12,188,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
! RTEXT "à¾:(&D)",IDC_DESCTEXT,5,31,60,16,SS_CENTERIMAGE | NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
! EDITTEXT IDC_DESC,71,32,189,13,ES_AUTOHSCROLL,WS_EX_TRANSPARENT
RTEXT "T|o|¼:(&S)",IDC_STATIC,17,68,48,15,NOT WS_GROUP
EDITTEXT IDC_SERVER,69,66,203,14,ES_AUTOHSCROLL
RTEXT "f|^x|X¼:(&b)",IDC_STATIC,5,91,60,15,NOT WS_GROUP
! EDITTEXT IDC_DATABASE,69,88,203,14,ES_AUTOHSCROLL
RTEXT "&Port:",IDC_STATIC,281,101,22,11
EDITTEXT IDC_PORT,307,99,37,14,ES_AUTOHSCROLL
RTEXT "|U|¼:(&U)",IDC_STATIC,18,139,47,15
--- 39,56 ----
BEGIN
RTEXT "f|^\|X¼:(&N)",IDC_DSNAMETEXT,2,9,63,17,NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
! EDITTEXT IDC_DSNAME,71,7,188,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
! RTEXT "à¾:(&D)",IDC_DESCTEXT,5,27,60,16,SS_CENTERIMAGE | NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
! EDITTEXT IDC_DESC,71,28,189,13,ES_AUTOHSCROLL,WS_EX_TRANSPARENT
! RTEXT "SS&L Mode",IDC_STATIC,37,50,28,9,NOT WS_GROUP
! COMBOBOX IDC_SSLMODE,71,47,65,12,CBS_DROPDOWNLIST | WS_VSCROLL |
! WS_TABSTOP
RTEXT "T|o|¼:(&S)",IDC_STATIC,17,68,48,15,NOT WS_GROUP
EDITTEXT IDC_SERVER,69,66,203,14,ES_AUTOHSCROLL
RTEXT "f|^x|X¼:(&b)",IDC_STATIC,5,91,60,15,NOT WS_GROUP
! EDITTEXT IDC_DATABASE,71,88,203,14,ES_AUTOHSCROLL
RTEXT "&Port:",IDC_STATIC,281,101,22,11
EDITTEXT IDC_PORT,307,99,37,14,ES_AUTOHSCROLL
RTEXT "|U|¼:(&U)",IDC_STATIC,18,139,47,15
***************
*** 299,306 ****
//
VS_VERSION_INFO VERSIONINFO
! FILEVERSION 8,1,0,2
! PRODUCTVERSION 8,1,0,2
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x1L
--- 302,309 ----
//
VS_VERSION_INFO VERSIONINFO
! FILEVERSION 8,1,0,3
! PRODUCTVERSION 8,1,0,3
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x1L
***************
*** 322,333 ****
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group"
VALUE "FileDescription", "PostgreSQL Driver"
! VALUE "FileVersion", "08.01.0002"
VALUE "InternalName", "psqlodbc"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation."
VALUE "OriginalFilename", "psqlodbc.dll"
VALUE "ProductName", "Microsoft Open Database Connectivity"
! VALUE "ProductVersion", "08.01.0002"
END
END
BLOCK "VarFileInfo"
--- 325,336 ----
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group"
VALUE "FileDescription", "PostgreSQL Driver"
! VALUE "FileVersion", "08.01.0003"
VALUE "InternalName", "psqlodbc"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation."
VALUE "OriginalFilename", "psqlodbc.dll"
VALUE "ProductName", "Microsoft Open Database Connectivity"
! VALUE "ProductVersion", "08.01.0003"
END
END
BLOCK "VarFileInfo"
***************
*** 389,394 ****
--- 392,400 ----
EDITTEXT IDC_DESC,192,22,104,12,ES_AUTOHSCROLL
RTEXT "Data&base",IDC_STATIC,16,40,38,12,NOT WS_GROUP
EDITTEXT IDC_DATABASE,57,39,72,12,ES_AUTOHSCROLL
+ RTEXT "SS&L Mode",IDC_STATIC,145,40,45,12,NOT WS_GROUP
+ COMBOBOX IDC_SSLMODE,192,36,104,50,CBS_DROPDOWNLIST | WS_VSCROLL |
+ WS_TABSTOP
RTEXT "&Server",IDC_STATIC,26,55,29,12,NOT WS_GROUP
EDITTEXT IDC_SERVER,57,54,72,12,ES_AUTOHSCROLL
RTEXT "&Port",IDC_STATIC,168,56,22,12
***************
*** 606,613 ****
//
VS_VERSION_INFO VERSIONINFO
! FILEVERSION 8,1,0,2
! PRODUCTVERSION 8,1,0,2
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x1L
--- 612,619 ----
//
VS_VERSION_INFO VERSIONINFO
! FILEVERSION 8,1,0,3
! PRODUCTVERSION 8,1,0,3
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x1L
***************
*** 629,640 ****
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group"
VALUE "FileDescription", "PostgreSQL Driver"
! VALUE "FileVersion", "08.01.0002"
VALUE "InternalName", "psqlodbc"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation."
VALUE "OriginalFilename", "psqlodbc.dll"
VALUE "ProductName", "Microsoft Open Database Connectivity"
! VALUE "ProductVersion", "08.01.0002"
END
END
BLOCK "VarFileInfo"
--- 635,646 ----
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group"
VALUE "FileDescription", "PostgreSQL Driver"
! VALUE "FileVersion", "08.01.0003"
VALUE "InternalName", "psqlodbc"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation."
VALUE "OriginalFilename", "psqlodbc.dll"
VALUE "ProductName", "Microsoft Open Database Connectivity"
! VALUE "ProductVersion", "08.01.0003"
END
END
BLOCK "VarFileInfo"
Index: resource.h
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/resource.h,v
retrieving revision 1.33
diff -c -r1.33 resource.h
*** resource.h 12 May 2003 15:44:08 -0000 1.33
--- resource.h 22 Jul 2005 11:30:52 -0000
***************
*** 81,94 ****
#define IDC_DRIVERNAME 1076
#define IDC_MANAGEDSN 1077
#define IDC_DRIVER_LIST 1078
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
! #define _APS_NEXT_RESOURCE_VALUE 106
#define _APS_NEXT_COMMAND_VALUE 40001
! #define _APS_NEXT_CONTROL_VALUE 1079
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
--- 81,95 ----
#define IDC_DRIVERNAME 1076
#define IDC_MANAGEDSN 1077
#define IDC_DRIVER_LIST 1078
+ #define IDC_SSLMODE 1079
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
! #define _APS_NEXT_RESOURCE_VALUE 109
#define _APS_NEXT_COMMAND_VALUE 40001
! #define _APS_NEXT_CONTROL_VALUE 1082
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
Index: version.h
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/version.h,v
retrieving revision 1.46
diff -c -r1.46 version.h
*** version.h 13 Jul 2005 19:55:02 -0000 1.46
--- version.h 22 Jul 2005 13:06:57 -0000
***************
*** 11,18 ****
#ifndef __VERSION_H__
#define __VERSION_H__
! #define POSTGRESDRIVERVERSION "08.01.0002"
! #define POSTGRES_RESOURCE_VERSION "08.01.0002\0"
! #define PG_DRVFILE_VERSION 8,1,0,2
#endif
--- 11,18 ----
#ifndef __VERSION_H__
#define __VERSION_H__
! #define POSTGRESDRIVERVERSION "08.01.0003"
! #define POSTGRES_RESOURCE_VERSION "08.01.0003\0"
! #define PG_DRVFILE_VERSION 8,1,0,3
#endif
Index: installer/Make.bat
===================================================================
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/installer/Make.bat,v
retrieving revision 1.7
diff -c -r1.7 Make.bat
*** installer/Make.bat 13 Jul 2005 19:55:02 -0000 1.7
--- installer/Make.bat 22 Jul 2005 10:37:13 -0000
***************
*** 3,9 ****
if NOT "%1"=="" SET VERSION="%1"
if NOT "%1"=="" GOTO GOT_VERSION
! SET VERSION="08.01.0002"
echo.
echo Version not specified - defaulting to %VERSION%
echo.
--- 3,9 ----
if NOT "%1"=="" SET VERSION="%1"
if NOT "%1"=="" GOTO GOT_VERSION
! SET VERSION="08.01.0003"
echo.
echo Version not specified - defaulting to %VERSION%
echo.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [Patch] SSL Support
@ 2005-07-25 05:50 Anoop Kumar <anoopk@pervasive-postgres.com>
0 siblings, 0 replies; 7+ messages in thread
From: Anoop Kumar @ 2005-07-25 05:50 UTC (permalink / raw)
To: Dave Page <dpage@vale-housing.co.uk>; pgsql-odbc
Hi Dave,
Waw! That's great. Actually, I was about to assign Sivakumar (who was a
major contributor to the libpq enabled odbc project) to look into the
SSL stuff, and so glad that you have already posted the patch for it. I
think now we can look into the odbc 3.0-3.5 compliance issues.
Regards
Anoop
-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page
Sent: Friday, July 22, 2005 6:58 PM
To: pgsql-odbc@postgresql.org
Cc: Anoop Kumar
Subject: [ODBC] [Patch] SSL Support
<<ssl.patch>> The attached patch adds SSL support to psqlODBC-libpq. If
there are no objections (Anoop in particular :-) ), I will apply it
within the next few days.
Regards, Dave.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [Patch] SSL Support
@ 2005-07-25 20:25 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 7+ messages in thread
From: Dave Page @ 2005-07-25 20:25 UTC (permalink / raw)
To: Anoop Kumar <anoopk@pervasive-postgres.com>; pgsql-odbc
> -----Original Message-----
> From: Anoop Kumar [mailto:anoopk@pervasive-postgres.com]
> Sent: 25 July 2005 06:51
> To: Dave Page; pgsql-odbc@postgresql.org
> Subject: RE: [ODBC] [Patch] SSL Support
>
> Hi Dave,
>
> Waw! That's great. Actually, I was about to assign Sivakumar
> (who was a
> major contributor to the libpq enabled odbc project) to look into the
> SSL stuff, and so glad that you have already posted the patch
> for it.
Great, I'll apply it asap.
> I
> think now we can look into the odbc 3.0-3.5 compliance issues.
Any chance you can you look at some bugs first please?
- The threading issue
- Phillipe Lang's encoding issue
(http://archives.postgresql.org/pgsql-odbc/2005-07/msg00131.php). I did
spend some time trying to solve this a while back, though I was quite
busy at the time. I didn't get very far :-(
- The blank varchar/text fields problem that a few people have seen with
some applications
http://archives.postgresql.org/pgsql-odbc/2005-07/msg00103.php
Regards, Dave.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [Patch] SSL Support
@ 2005-07-25 20:45 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 7+ messages in thread
From: Dave Page @ 2005-07-25 20:45 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Anoop Kumar <anoopk@pervasive-postgres.com>
Applied :-)
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 22 July 2005 14:28
> To: pgsql-odbc@postgresql.org
> Cc: Anoop Kumar
> Subject: [ODBC] [Patch] SSL Support
>
> <<ssl.patch>> The attached patch adds SSL support to
> psqlODBC-libpq. If
> there are no objections (Anoop in particular :-) ), I will apply it
> within the next few days.
>
> Regards, Dave.
>
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2005-07-25 20:45 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-23 19:29 SSL Support? Mitch Vincent <mitch@doot.org>
2002-01-23 20:01 Re: SSL Support? Mitch Vincent <mitch@doot.org>
2002-01-24 03:01 ` Klemens Seydel <pierromail@gmx.de>
2005-07-22 13:27 [Patch] SSL Support Dave Page <dpage@vale-housing.co.uk>
2005-07-25 05:50 Re: [Patch] SSL Support Anoop Kumar <anoopk@pervasive-postgres.com>
2005-07-25 20:25 Re: [Patch] SSL Support Dave Page <dpage@vale-housing.co.uk>
2005-07-25 20:45 Re: [Patch] SSL Support Dave Page <dpage@vale-housing.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox