| From: | Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> |
|---|---|
| To: | Ernesto Revilla <aerd(at)retemail(dot)es> |
| Cc: | pgsql-cygwin(at)postgresql(dot)org, cygwin(at)sources(dot)redhat(dot)com |
| Subject: | Re: Perl + Python Postgresql 7.1.1 under Cygwin |
| Date: | 2001-05-11 15:26:13 |
| Message-ID: | 20010511112613.A421@dothill.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-cygwin |
Erny,
On Fri, May 11, 2001 at 01:21:07AM +0200, Ernesto Revilla wrote:
> For the Python interface to compile, I had to add the -DMS_WIN32 in the
> Makefile.pre.in . If not a 'not constant type' happens in pgmodule.c line
> 951. I don't know if there is a better place tu put the def. After this it
> compiles and seems to work well. I used Python 2.1.
While changing Cygwin Python to build its core as a DLL (like Win32
Python) to support shared extension modules, I have learned that Guido
prefers the style of the attached patch to solve the above problem.
I feel that this solution is particularly appropriate in this case
because the following:
PglargeType
PgType
PgQueryType
are already being handled in the way that I am proposing for PgSourceType.
I will submit this patch to pgsql-patches for consideration.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
| Attachment | Content-Type | Size |
|---|---|---|
| pgpy.patch | text/plain | 1.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rob Yelle | 2001-05-11 16:41:10 | postgresql configure |
| Previous Message | Navket Singh | 2001-05-11 09:06:17 | Winnt Post |