pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedbug
3+ messages / 3 participants
[nested] [flat]
* bug
@ 1998-09-15 10:48 Mikael Hammarin <mikael.hammarin@dc.etx.ericsson.se>
0 siblings, 0 replies; 3+ messages in thread
From: Mikael Hammarin @ 1998-09-15 10:48 UTC (permalink / raw)
To: pgsql-interfaces
Hello all!
Trying to connect with psql using -u to get username/pw auth
doesn't seem to work very well:
<-snip->
cletx06:~# psql -u
Username: claimsmngt
Password: xx
Connection to database 'claimsmn' failed.
FATAL 1: Database claimsmn does not exist in pg_database
cletx06:~# psql -d claimdb -u
Username: claimsmngt
Password: xx
Connection to database 'claimdb' failed.
FATAL 1: SetUserId: user 'claimsmn' is not in 'pg_shadaw'
<-snip->
While using only -u, psql tries to connect to a database with
the same name as the username you use to authenticate. Perhaps
it's the right behavior, <what-do-i-know>, but the problem
is that the maximum length seems to be 8 characters. Why?
Just to add another stupid question: To whom are the bugreports
supposed to go?
Regards,
Mike
^ permalink raw reply [nested|flat] 3+ messages in thread
* bug
@ 1999-07-17 01:30 Dave Ogren <ogren@atcnet.net>
0 siblings, 0 replies; 3+ messages in thread
From: Dave Ogren @ 1999-07-17 01:30 UTC (permalink / raw)
To: pgsql-interfaces
I've installed PostgreSQL 6.5 from a RedHat rpm and Perl 5.005.03 on an
Intel P90 box running RedHat Linux 6.0. The install did not set a
$POSTGRES_HOME variable and installed in /usr/lib and /usr/include
rather than /usr/local/pgsql as in older versions. My attempts to
install the modules DBD-Pg-0.92 and pgsql_perl5-1.8.1 failed.
My patch is as follows:
Setting Environment Variable:
$POSTGRES_HOME = /usr/include/pgsql
Edit the Makefile.PL script for pgsql_perl5-1.8.1:
Set INC = $POSTGRES_HOME (rather than $POSTGRES_HOME/include)
Dave Ogren
Attachments:
pgsql_perl5_bug (text/plain, 1.8K) download
This is perl, version 5.005_03 built for i386-linux
Copyright 1987-1999, Larry Wall
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 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.1-ac1, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est 1999 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Apr 6 1999 23:34:07
@INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Bug?
@ 2000-02-08 10:26 Erwin van den Berg <evdberg@visualdomain.net>
0 siblings, 0 replies; 3+ messages in thread
From: Erwin van den Berg @ 2000-02-08 10:26 UTC (permalink / raw)
To: pgsql-interfaces
Hi,
ODBC driver version: 6.40.0006
PostgreSQL version 6.5.3
If I declare a field as char(16) and put for instance 'abcd' in it, I
get 'abcd ' back (the original string with 12 spaces). What
am I doing wrong or is this a bug? When I tested my application with an
access database, I didn't have this problem.
Best regards,
Erwin van den Berg
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-02-08 10:26 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-09-15 10:48 bug Mikael Hammarin <mikael.hammarin@dc.etx.ericsson.se>
1999-07-17 01:30 bug Dave Ogren <ogren@atcnet.net>
2000-02-08 10:26 Bug? Erwin van den Berg <evdberg@visualdomain.net>
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