Thread: Drivers for Other Languages
Hi, How difficult is it to write a driver for pgsql (via network or UNIX domain sockets) for an as yet unsupported language? Specifically, I'd like a driver for JavaScript, for use with Mozilla JSLib/XPCShell. I presume there isn't one already, so I guess I'll have to write one. So, where can I find the specification for the protocol that I am going to have to talk to the socket? Many thanks. Gordan
On Wed, 30 Mar 2005 12:07:06 +0100, Gordan Bobic <gordan@bobich.net> wrote: > Hi, > > How difficult is it to write a driver for pgsql (via network or UNIX > domain sockets) for an as yet unsupported language? > > Specifically, I'd like a driver for JavaScript, for use with Mozilla > JSLib/XPCShell. > > I presume there isn't one already, so I guess I'll have to write one. > So, where can I find the specification for the protocol that I am going > to have to talk to the socket? Actually, there is an SQL XPCOM extention for mozilla. A search for "sql" at mozilla.org turned up http://www.mozilla.org/projects/sql/ . It turns out that this extention *only* supports postgres as of now, with plans for Someone-elsesSQL ;) support later. > > Many thanks. > > Gordan > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Mike Rylander mrylander@gmail.com GPLS -- PINES Development Database Developer http://open-ils.org
Mike Rylander wrote: > On Wed, 30 Mar 2005 12:07:06 +0100, Gordan Bobic <gordan@bobich.net> wrote: > >>Hi, >> >>How difficult is it to write a driver for pgsql (via network or UNIX >>domain sockets) for an as yet unsupported language? >> >>Specifically, I'd like a driver for JavaScript, for use with Mozilla >>JSLib/XPCShell. >> >>I presume there isn't one already, so I guess I'll have to write one. >>So, where can I find the specification for the protocol that I am going >>to have to talk to the socket? > > > Actually, there is an SQL XPCOM extention for mozilla. A search for > "sql" at mozilla.org turned up http://www.mozilla.org/projects/sql/ . Wow! Thanks! That's exactly what I was looking for. :-) > It turns out that this extention *only* supports postgres as of now, > with plans for Someone-elsesSQL ;) support later. Why would I want to use that? ;-) Gordan