pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Connecting to PostgreSQL from Perl in WNT/W2K
2+ messages / 2 participants
[nested] [flat]

* Connecting to PostgreSQL from Perl in WNT/W2K
@ 2001-02-01 22:35 Molina Leon Guillermo Alfonso <gmolinle@banrep.gov.co>
  2001-02-06 17:03 ` Re: Connecting to PostgreSQL from Perl in WNT/W2K Jeremy Buchmann <jeremy@wellsgaming.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Molina Leon Guillermo Alfonso @ 2001-02-01 22:35 UTC (permalink / raw)
  To: pgsql-interfaces

Hello,

I have Apache1.3.14 and perl 5.6.0 in a WNT server and PostgreSQL 7.0.3 in
linux, how can i get a connection?.

his is perl, v5.6.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2000, Larry Wall

Binary build 613 provided by ActiveState Tool Corp.
http://www.ActiveState.com
Built 12:36:25 Mar 24 2000


Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

Summary of my perl5 (revision 5 version 6 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=undef 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DPERL_MSVCRT_READFIX'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release
-libpath:"C:\Perl\lib\CORE"  -machine:x86'
    libpth="C:\Perl\lib\CORE"
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-libpath:"C:\Perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
  Locally applied patches:
  	ActivePerl Build 613
  Built under MSWin32
  Compiled at Mar 24 2000 12:36:25
  @INC:
    C:/Perl/lib
    C:/Perl/site/lib
    .

Thanks.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Connecting to PostgreSQL from Perl in WNT/W2K
  2001-02-01 22:35 Connecting to PostgreSQL from Perl in WNT/W2K Molina Leon Guillermo Alfonso <gmolinle@banrep.gov.co>
@ 2001-02-06 17:03 ` Jeremy Buchmann <jeremy@wellsgaming.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeremy Buchmann @ 2001-02-06 17:03 UTC (permalink / raw)
  To: Molina Leon Guillermo Alfonso <gmolinle@banrep.gov.co>; pgsql-interfaces


> Hello,
> 
> I have Apache1.3.14 and perl 5.6.0 in a WNT server and PostgreSQL 7.0.3 in
> linux, how can i get a connection?.

Perl's DBI module is the best way to go.  Get it from CPAN.  You'll need the
generic DBI driver and the Postgres DBD "sub-driver".  They should work on
Windows...

--Jeremy




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-06 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-01 22:35 Connecting to PostgreSQL from Perl in WNT/W2K Molina Leon Guillermo Alfonso <gmolinle@banrep.gov.co>
2001-02-06 17:03 ` Jeremy Buchmann <jeremy@wellsgaming.com>

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