[HACKERS] Python Interface Hacking

2010-07-07 Thread Peter Froehlich
Hi all,

I joined this list under the mis-impression that it was about hacking
the Python interfaces to pgsql. Is there possibly another list for
that? Or is the Python stuff just mixed in with all the rest? Sorry
for the meta-question...

Cheers,
Peter
-- 
Peter H. Froehlich http://www.cs.jhu.edu/~phf/
Senior Lecturer | Director, Johns Hopkins Gaming Lab

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Python Interface Hacking

2010-07-07 Thread Robert Haas
On Wed, Jul 7, 2010 at 3:07 AM, Peter Froehlich
peter.hans.froehl...@gmail.com wrote:
 I joined this list under the mis-impression that it was about hacking
 the Python interfaces to pgsql. Is there possibly another list for
 that? Or is the Python stuff just mixed in with all the rest? Sorry
 for the meta-question...

Well, PL/python (using Python within the database) would be on-topic
for this list, but the connectors like psycopg are not discussed here.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Python Interface Hacking

2010-07-07 Thread Peter Eisentraut
On ons, 2010-07-07 at 03:07 -0400, Peter Froehlich wrote:
 I joined this list under the mis-impression that it was about hacking
 the Python interfaces to pgsql. Is there possibly another list for
 that? Or is the Python stuff just mixed in with all the rest? Sorry
 for the meta-question...

If you want to hack PL/Python, which is a Python interpreter embedded
into the PostgreSQL server, then this is the right place.  (Yes, it's
mixed with all the rest.)

If you want to hack a Python client driver, then go to
http://initd.org/psycopg/.  (There are others, but that's the most
popular one.)


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Python Interface Hacking

2010-07-07 Thread Peter Froehlich
On Wed, Jul 7, 2010 at 8:49 AM, Peter Eisentraut pete...@gmx.net wrote:
 If you want to hack PL/Python, which is a Python interpreter embedded
 into the PostgreSQL server, then this is the right place.  (Yes, it's
 mixed with all the rest.)

 If you want to hack a Python client driver, then go to
 http://initd.org/psycopg/.  (There are others, but that's the most
 popular one.)

I was referring to this stuff:

http://it.toolbox.com/blogs/database-soup/postgres-needs-a-new-python-driver-36815
http://wiki.postgresql.org/wiki/Python_PostgreSQL_Driver_TODO

Anyone know where these guys hang out and discuss what to do? :-D
-- 
Peter H. Froehlich http://www.cs.jhu.edu/~phf/
Senior Lecturer | Director, Johns Hopkins Gaming Lab

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Python Interface Hacking

2010-07-07 Thread Jan Urbański

On 07/07/10 17:19, Peter Froehlich wrote:

On Wed, Jul 7, 2010 at 8:49 AM, Peter Eisentrautpete...@gmx.net  wrote:

If you want to hack PL/Python, which is a Python interpreter embedded
into the PostgreSQL server, then this is the right place.  (Yes, it's
mixed with all the rest.)

If you want to hack a Python client driver, then go to
http://initd.org/psycopg/.  (There are others, but that's the most
popular one.)


I was referring to this stuff:

http://it.toolbox.com/blogs/database-soup/postgres-needs-a-new-python-driver-36815
http://wiki.postgresql.org/wiki/Python_PostgreSQL_Driver_TODO

Anyone know where these guys hang out and discuss what to do? :-D


The (well, we) hang on http://lists.initd.org/mailman/listinfo/psycopg.

Cheers,
Jan

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Python Interface Hacking

2010-07-07 Thread James William Pye
On Jul 7, 2010, at 12:07 AM, Peter Froehlich wrote:
 I joined this list under the mis-impression that it was about hacking
 the Python interfaces to pgsql. Is there possibly another list for
 that? Or is the Python stuff just mixed in with all the rest? Sorry
 for the meta-question...

For BSD/MIT licensed python3 fun, be sure to check out:

http://python.projects.postgresql.org/
http://python.projects.postgresql.org/backend/
http://pgfoundry.org/mailman/listinfo/python-general/

The project currently enjoys a status as an alternative,
but with help from people like you that could change. =)

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] python interface

2003-08-01 Thread Bruce Momjian

What date was the move?  I can get you a diff.

---

D'Arcy J.M. Cain wrote:
 On Friday 01 August 2003 00:41, Tom Lane wrote:
  Marc G. Fournier [EMAIL PROTECTED] writes:
   Somehow, when we moved it to gborg way back, the 'cvs remove' wasn't done
   on the mail repository ... there ... cvs remove'd now, so its still part
   of v7.3.x, but no longer part of v7.4 ...
 
  According to the CVS logs, there were several patches applied to
  src/interfaces/python in the last few months.  Somebody should make sure
  that all of those got propagated to the gborg project (or at least
  considered and rejected...)
 
 Actually, we tried using gborg and ran into problems.  Gborg should now just 
 be a redirect to http://www.PyGreSQL.org/ which will be updated shortly.  For 
 those that missed the announcement, PyGreSQL and PoPy have merged projects 
 and we are running the combined project from my system.  We moved it from the 
 PostgreSQL site at Bruce and Tom's suggestion so that we could add more 
 people with access.
 
 If there are any known updates since the move you can send them directly to me 
 or to the mailing list at [EMAIL PROTECTED]
 
 -- 
 D'Arcy J.M. Cain
 PyGreSQL Development Group
 http://www.PyGreSQL.org
 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [HACKERS] python interface

2003-08-01 Thread D'Arcy J.M. Cain
On Friday 01 August 2003 00:41, Tom Lane wrote:
 Marc G. Fournier [EMAIL PROTECTED] writes:
  Somehow, when we moved it to gborg way back, the 'cvs remove' wasn't done
  on the mail repository ... there ... cvs remove'd now, so its still part
  of v7.3.x, but no longer part of v7.4 ...

 According to the CVS logs, there were several patches applied to
 src/interfaces/python in the last few months.  Somebody should make sure
 that all of those got propagated to the gborg project (or at least
 considered and rejected...)

Actually, we tried using gborg and ran into problems.  Gborg should now just 
be a redirect to http://www.PyGreSQL.org/ which will be updated shortly.  For 
those that missed the announcement, PyGreSQL and PoPy have merged projects 
and we are running the combined project from my system.  We moved it from the 
PostgreSQL site at Bruce and Tom's suggestion so that we could add more 
people with access.

If there are any known updates since the move you can send them directly to me 
or to the mailing list at [EMAIL PROTECTED]

-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] python interface

2003-08-01 Thread elein
gborg has the cvs access, bugs, features, etc. listed
for the pygresql project.
The website link on the gborg page does point to PyGreSQL.org,
however.

Will these auxilliary links be available from gborg or
are you going to manage it all from PyGreSQL.org?

In otherwords, if someone is looking for the interface,
where is the best place to point them?  I'm asking
because most projects are accessible to gborg and I
think at minimum the link to the project should be
maintained.  People should be able to cruise gborg
and find pygresql easily.

But if the cvs access, bugs, features, etc. are not
on gborg, those links should be moved or redirected
to the proper page on pygresql.org.  Also so people
can find them more easily.

elein

On Fri, Aug 01, 2003 at 06:56:35AM -0400, D'Arcy J.M. Cain wrote:
 On Friday 01 August 2003 00:41, Tom Lane wrote:
  Marc G. Fournier [EMAIL PROTECTED] writes:
   Somehow, when we moved it to gborg way back, the 'cvs remove' wasn't done
   on the mail repository ... there ... cvs remove'd now, so its still part
   of v7.3.x, but no longer part of v7.4 ...
 
  According to the CVS logs, there were several patches applied to
  src/interfaces/python in the last few months.  Somebody should make sure
  that all of those got propagated to the gborg project (or at least
  considered and rejected...)
 
 Actually, we tried using gborg and ran into problems.  Gborg should now just 
 be a redirect to http://www.PyGreSQL.org/ which will be updated shortly.  For 
 those that missed the announcement, PyGreSQL and PoPy have merged projects 
 and we are running the combined project from my system.  We moved it from the 
 PostgreSQL site at Bruce and Tom's suggestion so that we could add more 
 people with access.
 
 If there are any known updates since the move you can send them directly to me 
 or to the mailing list at [EMAIL PROTECTED]
 
 -- 
 D'Arcy J.M. Cain
 PyGreSQL Development Group
 http://www.PyGreSQL.org
 
 ---(end of broadcast)---
 TIP 4: Don't 'kill -9' the postmaster
 

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[HACKERS] python interface

2003-07-31 Thread Bruce Momjian
I still see the python interface in src/interfaces.  Marc, I thought you
moved that to gborg?

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] python interface

2003-07-31 Thread Bruce Momjian

OK, any idea why I see it in my CVS?  It was recently completely checked
out.


---

Marc G. Fournier wrote:
 
 actually, the whole python interface was moved over to
 http://www.pygresql.org ...
 
 
 
 On Thu, 31 Jul 2003, Bruce Momjian wrote:
 
  I still see the python interface in src/interfaces.  Marc, I thought you
  moved that to gborg?
 
  --
Bruce Momjian|  http://candle.pha.pa.us
[EMAIL PROTECTED]   |  (610) 359-1001
+  If your life is a hard drive, |  13 Roberts Road
+  Christ can be your backup.|  Newtown Square, Pennsylvania 19073
 
 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [HACKERS] python interface

2003-07-31 Thread Marc G. Fournier

actually, the whole python interface was moved over to
http://www.pygresql.org ...



On Thu, 31 Jul 2003, Bruce Momjian wrote:

 I still see the python interface in src/interfaces.  Marc, I thought you
 moved that to gborg?

 --
   Bruce Momjian|  http://candle.pha.pa.us
   [EMAIL PROTECTED]   |  (610) 359-1001
   +  If your life is a hard drive, |  13 Roberts Road
   +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [HACKERS] python interface

2003-07-31 Thread Tom Lane
 I still see the python interface in src/interfaces.  Marc, I thought you
 moved that to gborg?

I still see it too ... and so does cvsweb:
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/python/

regards, tom lane

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] python interface

2003-07-31 Thread Marc G. Fournier
On Fri, 1 Aug 2003, Bruce Momjian wrote:


 OK, any idea why I see it in my CVS?  It was recently completely checked
 out.

Somehow, when we moved it to gborg way back, the 'cvs remove' wasn't done
on the mail repository ... there ... cvs remove'd now, so its still part
of v7.3.x, but no longer part of v7.4 ...

 

 ---

 Marc G. Fournier wrote:
 
  actually, the whole python interface was moved over to
  http://www.pygresql.org ...
 
 
 
  On Thu, 31 Jul 2003, Bruce Momjian wrote:
 
   I still see the python interface in src/interfaces.  Marc, I thought you
   moved that to gborg?
  
   --
 Bruce Momjian|  http://candle.pha.pa.us
 [EMAIL PROTECTED]   |  (610) 359-1001
 +  If your life is a hard drive, |  13 Roberts Road
 +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073
  
 

 --
   Bruce Momjian|  http://candle.pha.pa.us
   [EMAIL PROTECTED]   |  (610) 359-1001
   +  If your life is a hard drive, |  13 Roberts Road
   +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [HACKERS] python interface

2003-07-31 Thread Tom Lane
Marc G. Fournier [EMAIL PROTECTED] writes:
 Somehow, when we moved it to gborg way back, the 'cvs remove' wasn't done
 on the mail repository ... there ... cvs remove'd now, so its still part
 of v7.3.x, but no longer part of v7.4 ...

According to the CVS logs, there were several patches applied to
src/interfaces/python in the last few months.  Somebody should make sure
that all of those got propagated to the gborg project (or at least
considered and rejected...)

regards, tom lane

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] python interface

2003-01-08 Thread D'Arcy J.M. Cain
On Saturday 04 January 2003 19:58, Marc G. Fournier wrote:
 Let me know how it goes, and what the project is ... that way we can move
 the current CVS over so that we don't lose the extensive logging history

Hmm.  I didn't think that it was suggested to move the repository again.  I 
thought I was just going to add a pointer to the PyGreSQL page but leave the 
code where it was.  If we move it won't it make it harder to add it with just 
a config option like we do now?

-- 
D'Arcy J.M. Cain darcy@{druid|vex}.net   |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP)   |  what's for dinner.

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [HACKERS] python interface

2003-01-08 Thread Bruce Momjian
D'Arcy J.M. Cain wrote:
 On Saturday 04 January 2003 19:58, Marc G. Fournier wrote:
  Let me know how it goes, and what the project is ... that way we can move
  the current CVS over so that we don't lose the extensive logging history
 
 Hmm.  I didn't think that it was suggested to move the repository again.  I 
 thought I was just going to add a pointer to the PyGreSQL page but leave the 
 code where it was.  If we move it won't it make it harder to add it with just 
 a config option like we do now?

Yes, it will make it harder, but we can release independently, and
others may get more involved in it.  We have moved the CVS for most of
the interfaces, and they are doing fine on gborg.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] python interface

2003-01-04 Thread Marc G. Fournier

Let me know how it goes, and what the project is ... that way we can move
the current CVS over so that we don't lose the extensive logging history
...



On Fri, 3 Jan 2003, D'Arcy J.M. Cain wrote:

 On Friday 03 January 2003 15:24, Tom Lane wrote:
  D'Arcy J.M. Cain [EMAIL PROTECTED] writes:
   I would love to add PyGreSQL to gborg but no matter how often I log in it
   tells me that I need to be logged in to create a new project.
 
  Weird.  Maybe you're blocking cookies, or something like that?

 Hmmm.  I am using Opera and I have noticed cookie related strangeness before
 but cookies do work.  I use them with mailman all the time.

 I'll try another browser tonight.

 --
 D'Arcy J.M. Cain darcy@{druid|vex}.net   |  Democracy is three wolves
 http://www.druid.net/darcy/|  and a sheep voting on
 +1 416 425 1212 (DoD#0082)(eNTP)   |  what's for dinner.

 ---(end of broadcast)---
 TIP 5: Have you checked our extensive FAQ?

 http://www.postgresql.org/users-lounge/docs/faq.html


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [HACKERS] python interface

2003-01-03 Thread D'Arcy J.M. Cain
On Tuesday 17 December 2002 14:10, Bruce Momjian wrote:
 I think the python interface in /interfaces/python should be moved to
 gborg.  It already has its own web site:

   http://www.druid.net/pygresql/

I would love to add PyGreSQL to gborg but no matter how often I log in it 
tells me that I need to be logged in to create a new project.

-- 
D'Arcy J.M. Cain darcy@{druid|vex}.net   |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP)   |  what's for dinner.

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [HACKERS] python interface

2003-01-03 Thread Tom Lane
D'Arcy J.M. Cain [EMAIL PROTECTED] writes:
 I would love to add PyGreSQL to gborg but no matter how often I log in it 
 tells me that I need to be logged in to create a new project.

Weird.  Maybe you're blocking cookies, or something like that?

regards, tom lane

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [HACKERS] python interface

2003-01-03 Thread D'Arcy J.M. Cain
On Friday 03 January 2003 15:24, Tom Lane wrote:
 D'Arcy J.M. Cain [EMAIL PROTECTED] writes:
  I would love to add PyGreSQL to gborg but no matter how often I log in it
  tells me that I need to be logged in to create a new project.

 Weird.  Maybe you're blocking cookies, or something like that?

Hmmm.  I am using Opera and I have noticed cookie related strangeness before 
but cookies do work.  I use them with mailman all the time.

I'll try another browser tonight.

-- 
D'Arcy J.M. Cain darcy@{druid|vex}.net   |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP)   |  what's for dinner.

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



[HACKERS] python interface

2002-12-17 Thread Bruce Momjian
I think the python interface in /interfaces/python should be moved to
gborg.  It already has its own web site:

http://www.druid.net/pygresql/

and there is also another one, pyPgSQL, at:

http://pypgsql.sourceforge.net/

It would be good to get both of them listed in the gborg interfaces
section. They don't need to move their web sites there.  They can just
provide a link to their main site from gborg.

Also, other interface authors should consider adding a page for
themselves on gborg too so there is one place people can look for
PostgreSQL interfaces.

I have CC'ed both python interface authors.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] python interface

2002-12-17 Thread Hannu Krosing
Bruce Momjian kirjutas K, 18.12.2002 kell 00:10:
 I think the python interface in /interfaces/python should be moved to
 gborg.  It already has its own web site:
 
   http://www.druid.net/pygresql/
 
 and there is also another one, pyPgSQL, at:
 
   http://pypgsql.sourceforge.net/

And the active third one, psycopg at:

  http://initd.org/software/initd/psycopg

And an old, seemingly abandoned one at:

  http://www.advogato.org/proj/python-postgresql/

But it would be nice if there were still some rpm's built by default for
those, even from gborg.

 It would be good to get both of them listed in the gborg interfaces
 section. They don't need to move their web sites there.  They can just
 provide a link to their main site from gborg.
 
 Also, other interface authors should consider adding a page for
 themselves on gborg too so there is one place people can look for
 PostgreSQL interfaces.
 
 I have CC'ed both python interface authors.
-- 
Hannu Krosing [EMAIL PROTECTED]

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])