Perl, DBI and encoding problem

2010-03-02 Thread Alex Bernier
are encoded in UTF8... In the dump : SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `bar` ( [...] ) ENGINE=InnoDB DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; Thanks in advance for any hint, Alex

Bugzilla installation can not connect to the database

2009-10-29 Thread Alex Rivlin
SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux Anyone has seen that before? What should I do to solve this? Alex Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom

PostgreSQL arrays and DBD

2008-08-15 Thread Alex Cheshev
Hello. I create a table: CREATE TABLE groups ( group_id serial PRIMARY KEY, name varchar(64) UNIQUE NOT NULL, guests integer[] DEFAULT '{}' ) I add a new record to the table: INSERT INTO groups (name) VALUES ('My friends'); Now the table contains 1 record: | group_id |name|

Re: Question that may not have an answer

2007-09-17 Thread Alex Teslik
completely wrong, and there isn't such a thing? Scott Mohnkern You're looking for SQLite: http://www.sqlite.org/ and http://search.cpan.org/~msergeant/DBD-SQLite-1.13/lib/DBD/SQLite.pm Alex

Re: Load Testing Script

2007-08-09 Thread Alex _
have you looked into sqlldr Robert Hicks [EMAIL PROTECTED] wrote: Garrett, Philip (MAN-Corporate) wrote: Robert Hicks wrote: Does anyone have such a beast for Oracle? I am trying to eliminate the Perl/DBD::Oracle side of the equation for some problems in our app. I did a looping select

Re: connecting to remote MSSQL server from DBI

2007-06-11 Thread Alex Teslik
. Personally, just for speed alone I would only do this as a last resort. If your DB can be migrated to SQLite you may have a much easier time of things since SQLite runs on most platforms and is bundled in the DBD. Alex On Mon, 11 Jun 2007 09:34:38 -0400, Jordan Mueller wrote Hello, I have

Re: SQLite 3.3.16 nulls test results

2007-05-02 Thread Alex Teslik
Here are the results from Brian's script: [root]/home/alex/DBI_testing# perl perl_dbi_nulls_test.pl Using connect arguments, db version: 3.3.16 = Drop table 'dbi__null_test_tmp', if it already exists... = Create table 'dbi__null_test_tmp'... = Insert 4 rows into the table... Inserting values

Re: DBD::mysql 3.0003 and 3.0003_1 released

2006-05-09 Thread Alex
Hello, Have somebody been lucky to utilize stored procedures that returns multiple result sets? I was trying to it exactly as in the example and it just returns 1 row... The sample code itself returns just 1 row. ps. mysql_mutli_results=1 is specified in connection string. Patrick Galbraith

Re: DBD::mysql 3.0003 and 3.0003_1 released

2006-05-09 Thread Alex
Hello, Have somebody been lucky to utilize stored procedures that returns multiple result sets? I was trying to it exactly as in the example and it just returns 1 row... The sample code itself returns just 1 row. ps. mysql_mutli_results=1 is specified in connection string. Patrick Galbraith

Re: strange problem with Class::DBI

2005-08-15 Thread Alex Deucher
. Alex Tim. On Fri, Aug 12, 2005 at 03:25:28PM -0400, Alex Deucher wrote: I'm having problems using Class::DBI to access my database. I have a postgres database with several tables and I've implemented Class::DBI abstractions for each table. the problem is one of my tables does not seem

strange problem with Class::DBI

2005-08-12 Thread Alex Deucher
at /usr/lib/perl5/site_perl/5.8.5/Class/DBI.pm line 852. I can't figure out what is going on. I have no problems accessing the table via DBI directly. Any ideas? Thanks, Alex

problem building DBI module

2004-06-16 Thread Alex Oboimov
message... Regards, Alex ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com

problem building DBI module

2004-06-16 Thread Alex Oboimov
for skipped ones... If someone thinks I lack some optimization you are welcome to comment. Regards, Alex ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http

problem building DBI module

2004-06-15 Thread Alex Oboimov
option mtune -pentiumpro Of course I can delete lines in Makefile that carry this option but it is said: don't edit this file... And more: Makefile contains both perl 5.8.4 and 5.8.1 paths maybe I get rid of the old one? Regards, Alex

Re: fetching statement attribute NAME causes query to be executed again

2004-01-09 Thread Alex Krohn
. Cheers, Alex

Re: fetching statement attribute NAME causes query to be executed again

2004-01-09 Thread Alex Krohn
that was passed in. Cheers, Alex

Re: fetching statement attribute NAME causes query to be executed again

2004-01-09 Thread Alex Krohn
: dbd_describe/SQLNumResultCols err=-1) which sounds like an error from MSSQL saying it couldn't alter the table (because the column was already added once and it's trying to do it again). Perhaps I'm wrong though and this error is caught on prepare instead of execute? Cheers, Alex

fetching statement attribute NAME causes query to be executed again

2004-01-08 Thread Alex Krohn
). This is with perl 5.6.1 (build 633), DBI 1.34 and DBD::ODBC 1.04. Any ideas on workarounds? Cheers, Alex

Re: fetching statement attribute NAME causes query to be executed again

2004-01-08 Thread Alex Krohn
; $dbh-disconnect; errors out with: Thanks for the email, but no difference. I was under the impression that finish wasn't needed in the above case, and all cleanup would happen at destruction. Cheers, Alex

new function suggestion: $sth-execute + fetch single row

2003-11-16 Thread Dylan Alex Simon
I find a common operation is to execute a statement that you expect to return at most one row and then fetch that row. I've found it convenient to combine these two calls into one: $res = $sth-executerow_foo(@bind); equivalent to: $sth-execute(@bind); $res = $sth-fetchrow_foo();

Re: help required DBI

2003-09-04 Thread Alex
make sure DBI is installed. use activeperl's ppm to do it for you On Tue, 12 Sep 2000, Farhan wrote: Can any one help me out from the error below.. i've been trying to use DBI module on win 2000 with activeperl 5.6.4 and perl 5.8 and apache 2.0.. i dont know where i went wrong.. do i have

DBD-ODBC and GET_LOCK status?

2003-08-15 Thread alex
hi is there any way to do the same with ODBC? out of CGI::Session::MySQL.pm... my $lck_status = $dbh-selectrow_array(qq|SELECT GET_LOCK($sid, 10)|); return $dbh-selectrow_array(qq|SELECT RELEASE_LOCK($sid)|); Alex

Re: How can I connect from a FreeBSD box to a Windows machine?

2003-07-22 Thread Alex
Look into the dbi::proxy I think that is what you need On Tue, 22 Jul 2003, stan wrote: I need to be able to get some data out of a microsoft Access fatabase intot a perl script that will run on a FreeBSD machine. Can I do this using DBD::ODBC? If so what does the syntax of teh

Re: General Perl Question

2003-06-28 Thread Alex
try this ... $commnd_string = qq!this is the .sql in a file!; -Original Message- From: steve hatfield [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, June 28, 2003 9:57 AM Subject: General Perl Question Hi everyone, I am working in a Unix db2 environment and

whats wrong? select to array and read array...

2003-03-16 Thread alex
-fetchrow_array; $sth8-finish(); foreach (@ref8) { my $var0=$ref8-[0]; my $var1=$ref8-[1]; my $var2=$ref8-[2]; my $sth9 = $dbh-prepare(UPDATE $dbtable2 SET TEST1=?,TEST2=? WHERE TEST3=?); my $rv9=$sth9-execute($var0,$var1,$var3); $sth9-finish(); # not needed } } Alex

Re: whats wrong? select to array and read array...

2003-03-16 Thread alex
- execute( @$row_array ); i will test this. Alex

Re: whats wrong? select to array and read array...

2003-03-16 Thread alex
} ) { my $var0 = $res8Item-[0]; . my $rv9=$sth9-execute($var0,$var1,$var3); } $sth9-finish(); Alex

Re: Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-14 Thread alex
don't know whats wrong. if you have a working example i will be happy :-) Greetings Alex

Re: Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-11 Thread alex
[DF_Test1_ProvLevel2] DEFAULT (0.) FOR [ProvLevel2], CONSTRAINT [DF_Test1_Action] DEFAULT (0) FOR [Action] GO Alex

Re: Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-10 Thread alex
to change the n to 1 - but the SQL_VARCHAR will not go away. Alex

Re: Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-10 Thread alex
have moved to DBD-ODBC v1.04 today and DBI v1.34 - but the problem is still here. Alex begin 666 money_test.cgi M(R%C.B]PF]GF%M;64O5R;]B:6XO5R;YE[EMAIL PROTECTED]-@T*=7-E('-T MFEC=#L)0D)(R!A8W1I=F%T92!F;W(@')O9W)A;6UI;FO95B=6=G:6YG M(]N;'D-G5S92!W87)N:6YGSL)0D)(R!A8W1I=F%T92!F;W(@')O9W)A M;6UI

Re: Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-10 Thread alex
ok - i have tested with mssql from remote - and the error is there. Alex

Can't rebind placeholder 1 (DBD-ODBC)?

2003-03-09 Thread alex
,?), Provlevel2=CONVERT(money,?) WHERE Test1=? ); my $rv9=$sth9-execute($level1,$level2,$name); # line 221 $sth9-finish(); } $sth8-finish(); Alex

Re: (Fwd) Perl 5.8.0 / DBI 1.25 large data transfer - broken?

2003-02-11 Thread alex
are you using Ms IIS (perlis.dll) ? Alex

how big should be LongReadLen?

2003-02-10 Thread alex
!? Alex

Re: How to Connect MSSQL Server from a Linux machine using Perl

2003-02-08 Thread alex
use DBD-ODBC driver Alex

'use DBI' failure

2003-02-07 Thread Alex Tunitsky
/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at - line 1. BEGIN failed--compilation aborted at - line 1. What am I missing? Thanks, Alex

platform independence and ISNULL/nolock with MsSQL?

2003-02-02 Thread alex
not use ISNULL function... Alex

Re: platform independence and ISNULL/nolock with MsSQL?

2003-02-02 Thread alex
SELECT * FROM table WHERE field IS NULL thats not the problem... :-). one example - i hope this makes it clearer what i mean... SELECT ISNULL(ID,'') AS ID FROM $dbtableWith(nolock) WHERE SUBSTRING(ID,7,6)=LEFT(?,6) Alex

Re: platform independence and ISNULL/nolock with MsSQL?

2003-02-02 Thread alex
in future. Alex

Re: how to count rows or put output to array?

2003-01-31 Thread alex
to program platform independend. Alex

how to count rows or put output to array?

2003-01-28 Thread alex
a count of the selected/found rows (for e.g. i select users and like to display how many users i have collected with this statement) Alex

Re: how to count rows or put output to array?

2003-01-28 Thread alex
(my @row = $sth-fetchrow_array()) { $i++; } very difficult in my code... i will have a look if i can change the code. isn't it possible without a while ? Alex

Re: how to count rows or put output to array?

2003-01-28 Thread alex
post a code fragment? here is the old code... based ob a file my @data=split(/\r?\n/,$part[2]); if ($data[2] ne '') { my @datas=split(';',$data[2]); print Counted Items ;print $#datas+1;print ItemsBR\n; print Inside: ;foreach (sort @datas) {print Item: $_ ;} print BR\n; } Alex

Re: how to count rows or put output to array?

2003-01-28 Thread alex
$html .= Item: $row ; oh *g* - thats the idea :-) - a point for appending the $html string... i will change this... sometimes if you look too long on a code you get blockhead... :-) thx Alex

Re: what will happen if script die's befor disconnect ?

2003-01-24 Thread alex
thx for your explaination :-) Alex

what will happen if script die's befor disconnect ?

2003-01-23 Thread alex
a disconnect befor die'ing yet... is this bad? is there something special to mod_perl, Apache Perl or PerlIS? Alex

Re: IIS LockUp with DBD-ODBC 1.01 and Perl 5.8!

2003-01-22 Thread alex
Same script with Apache 1.3.27, DBD-ODBC 1.03, DBI 1.32 and Perl 5.8.804 works without any problems! sounds like a PerlIS Bug... Alex

Re: IIS LockUp with DBD-ODBC 1.01 and Perl 5.8!

2003-01-21 Thread alex
Why not try DBD-ODBC 1.02 for 5.8? It is on the TheoryX site. will not help Alex

Re: IIS LockUp with DBD-ODBC 1.01 and Perl 5.8!

2003-01-21 Thread alex
Why not try DBD-ODBC 1.02 for 5.8? It is on the TheoryX site. a good tip... i haven't seen this yet... but tryed out in the last 5 minutes... DBI 1.32 and DBD-ODBC 1.03 will nox fix the problem too. Alex

someone able to write a CGI::Session::ODBC modul?

2003-01-20 Thread alex
needed for MsSQL or bedder ODBC... Alex

Re: IIS LockUp with DBD-ODBC 1.01 and Perl 5.8!

2003-01-19 Thread alex
. Alex

Re: DBD-OCBD. select gives everytime 0E0 as affected rows!?

2003-01-19 Thread alex
is it a good idea doing a count()? i need to test if a user is in the system or not... if i count i get a row with 0 or 1... count is fast... but what is the fastest way? speed is one of the highest prioritys for this script... Alex

DBD-OCBD. select gives everytime 0E0 as affected rows!?

2003-01-18 Thread alex
to understand why the following will not work with a select. my $rv4 = $sth4-execute('$ip','$http_user_agent'); if ($rv4 eq '0E0') { Alex

Re: DBD-OCBD. select gives everytime 0E0 as affected rows!?

2003-01-18 Thread alex
my $rv4 = $sth4-execute('$ip','$http_user_agent'); if ($rv4 eq '0E0') { a... removing the ' around the vars will fix it :-(. my fault... but the ' are needed on inserts... strange thing... Alex

Re: Select count(TEST) from table where (TEST=?) will crash with DBD-ODBC

2003-01-18 Thread alex
sorry Jeff... i found today this is my fault. i have done a type missmatch on the dbtable var... after correcting this it works now and gives correct results... i havent't tested with MyODBC 2.5... only with beta 3.51 Alex

Re: DBD-OCBD. select gives everytime 0E0 as affected rows!?

2003-01-18 Thread alex
Also note that some objects have stringifying methods which allow you to use or qq() to convert the objects into a useful string. None of that applies to normal DBI placeholders though. Alex: I hope you aren't depending on $rv4 to tell you whether a select found any rows. The return

IIS LockUp with DBD-ODBC 1.01 and Perl 5.8!

2003-01-18 Thread alex
script with a Stresstester and it will run fine with ActiveState Perl 5.6.1 and DBD-ODBC 1.02. This is a Win2k Server SP3 Box. Alex

PerlIS cannot uninstall DBD-ODBC?!?

2002-12-29 Thread alex
hi i'd like to upgrade the DBD-ODBC driver but i get a force unlink of odbc.dll failed. i have often seen this problem. it looks like PerlIS is caching the DBI driver... i don't know how to unload the dll in production... any idea??? This is Win2k, ActivePerl 5.6.1 633, DBD-ODBC 0.43 Alex

Re: Select count(TEST) from table where (TEST=?) will crash with DBD-ODBC

2002-12-25 Thread alex
The obvious sanity test is that the $dbtable var is unset for some reason. Perhaps a check of $dbtable value prior to the prepare would suffice? no - the var is set... this isn't the fault. try to set: my $dbtable='test_db'; Alex

Re: DBD::ODBC fails during make

2002-12-25 Thread alex
there is a Perl 5.8 compile bug with the driver version 1.00. use version 1.01! Alex

Re: DBD::ODBC V 1.01 MySQL 3.23.51

2002-12-20 Thread alex
' Stop. Alex

Re: Select count(TEST) from table where (TEST=?) will crash with DBD-ODBC

2002-12-20 Thread alex
:\Inetpub\test\test.cgi line 39. my $sth = $dbh-prepare(SELECT COUNT(TEST) FROM $dbtable WHERE (TEST=?)); my $rv = $sth-execute($var1); # this is line 39 This select will fully work for e.g. with MySQL-Front 2.5 without any problems... Alex

Accessing catalog

2002-11-28 Thread alex . marino-almeida
/cgi-bin/showsess.cgi line 9. I would know how i do to access catalog views with DBI. Regards Alex Marino

RE: Problems with using DBD-ODBC

2002-09-19 Thread Alex Cerantonio
program to this e-mail to have a look at. Kind Regards, Alex -Original Message- From: Jeff Urlwin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 10:25 PM To: Alex Cerantonio; [EMAIL PROTECTED] Cc: Darren Edgerton; [EMAIL PROTECTED] Subject: RE: Problems with using DBD-ODBC

Problems with using DBD-ODBC

2002-09-18 Thread Alex Cerantonio
Database: Redbrick v6.11 Server: AIX 4.3.3.0 If you require any additional information not in the attached files please don't hesitate to ask. Your assistance with our problem will be greatly appreciated. Kind Regards, Alex Cerantonio output.zip Description: Zip compressed data

RE: doubt

2002-09-10 Thread Mitsuda, Alex
Try delimiting each element of the in clause, i.e. ...in ('a','b') -Original Message- From: Agarwal, Ramakant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 9:25 AM To: '[EMAIL PROTECTED]' Subject: RE: doubt Hi, I did not get any answer to my first question and asking

DBD::Pg and transactions being held open for a long time.

2002-07-31 Thread Alex Hayward
DBD::Pg currently does a 'begin' immediately after a 'commit' or 'rollback'. Unfortunately this can cause some minor problems for PostgreSQL. It used to cause PostgreSQL 7.1 spits out lots of 'NOTICE: InvalidateSharedInvalid: cache state reset' messages (in 7.2 this is just a DEBUG message and

Re: Can DBD::Pg identify the backend's process ID?

2002-06-13 Thread alex
That's not the case for current things invocable via func() interface for DBD::Pg driver... -alex On Thu, 13 Jun 2002, Tim Bunce wrote: Don't forget that all driver-private attribute and functions should start with the driver prefix. So backend_pid should be called pg_backend_pid Tim

DBI.pm

2002-05-06 Thread Wilkinson,Alex
This is perl, v5.6.1 built for sun4-solaris Thanks - Alex

DBD and Oracle 8 and 9i

2002-04-18 Thread Alex Green
Is there anyway to build DBD so that it can be used with either various version of Oralce 8 and Oracle 9i. Thanks AG

Re: DBD and Oracle 8 and 9i

2002-04-18 Thread Alex Green
Message - From: Gaul, Ken [EMAIL PROTECTED] To: 'Alex Green' [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 10:31 AM Subject: RE: DBD and Oracle 8 and 9i If you build against 8i it should be able to access a 9i instance. Have you tried it? Ken. -Original Message- From: Alex Green

Re: DBD and Oracle 8 and 9i

2002-04-18 Thread Alex Green
are the same across all the versions... but with oracle 9 the 8's in the library names were changed to 9's kinda obvious that one :). - Original Message - From: Gaul, Ken [EMAIL PROTECTED] To: 'Alex Green' [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 12:03 PM Subject: RE: DBD

DBD on HPUX 11i

2002-04-18 Thread Alex Green
Does anyone have a link of info on how to build DBD on HPUX 11i... Thanks

Re: transaction rollback of sequences question

2002-03-20 Thread alex
That's correct behavior for postgresql. See the documentation for explanation. -alex On Wed, 20 Mar 2002, Doug Silver wrote: Hi All - I'm just trying to confirm the perl DBI transaction/rollback feature, which works as expected except for one thing, one field that is SERIAL keeps

DBD-Oracle-1.12 installation

2002-03-11 Thread Alex Key
Hello Tim! My name is Alex and I'm from Russia. I have some problems with DBD-Oracle-1.12 installation. When I'm trying to install this module on Linux Mandrake 7.1 I recive a message like this: The ORACLE_HOME environment variable value (/home/oracle/OraHome1) is not valid. It must be set

DBD-Oracle-1.12 installation 2

2002-03-11 Thread Alex Key
Thank you a lot!!! But... Where can I find the Oracle client and how to install it on Linux Mandrake 7.1? ãÉÔÉÒÕÀ Sterin, Ilya [EMAIL PROTECTED]: Well, is your ORACLE_HOME set? You must have the Oracle client installed in order to compile. Ilya -Original Message- From: Alex

DSN-Less Connection String for Informix ODBC driver

2002-03-06 Thread Mitsuda, Alex
=server_name;serv=service_name;pro=olsoctsp;database =database_name;uid=id;pwd=password;'; # # protocol name above is olsoctcp, other protocols will work as long as supported by network # $dbh = DBI-connect(dbi:ODBC:$dsn, { RaiseError = 1, AutoCommit = 1}); DSN...Leave home without it! Alex Mitsuda

DBI and Informix Client-SDK 2.5 problem

2002-03-01 Thread Mitsuda, Alex
utilities to connect to Informix. On a DBI connect I'm getting a Informix ODBC Driver error : Unable to load translation DLL. I'm sure it's probably some environment setting. If someone could just point me in the right direction...thanks Alex Mitsuda @ NEUBERGER BERMAN * [EMAIL PROTECTED] * 646

PERL MODULE DBD::ODBC

2002-02-07 Thread YOUNG,ALEX (Non-HP-UnitedKingdom,ex2)
Hi all, I am having a problem installing the above module (Version 0.32). I have succeeded in the past with a statically linked version but cannot get the dynamic one going. The driver I'm using is Redbrick (a data warehouse now provided by Informix (IBM)). The only tweak that I have made is a

RE: MySQL DBI Error

2002-01-06 Thread Alex Gerasev
); Using placeholders is a common practice. It makes code more readable and helps you avoid errors. For more information on using placeholders, read perldoc DBI. Regards, Alex.

Re: DBD-Pg 1.01 binary data trouble

2001-12-24 Thread Alex Pilosov
Woops. Bad math on my side, you look correct. I'll submit it to Ed Mergl later on. (I'm to blame for this piece of code). -alex On Tue, 25 Dec 2001, KAWAI,Takanori wrote: I've found that DBD::Pg not works with binary data. It occurs Unterminated quoted string with long invisible-character

RE: To find a just-inserted record

2001-12-21 Thread Mitsuda, Alex
Need to be a bit careful though, if there are simultaneous inserts going on @@identity is not guaranteed to give back the correct key...besides a numeric primary key, it's always good practice to have an alternate primary key with which you can check against... -Original Message- From:

Re: Perl Pg Vs. DBD::Pg

2001-11-13 Thread Alex Pilosov
Using DBI, you must be careful how you fetch the data. There are methods for fetching entire result set as an array of arrays or array of hashes, but doing row-by-row fetching as a reference of an array is fastest. That was most likely the reason for disparity. -alex On Tue, 13 Nov 2001

RE: merant / ODBC - DBI/DBD

2001-11-12 Thread Mitsuda, Alex
You can do this using DBD::Sybase Library and DBI as long as the SQLServer7 has most uptodate patch, without having to use Merant/ODBC solution. Though I'm not sure how the DBD::Sybase install will go without actually having Sybase on the box... -Original Message- From: Meng Yoke

Re: Perl Pg

2001-11-12 Thread Alex Pilosov
' performance is to put each statement in its own transaction (default, AutoCommit=1). If you post your source code, I might be able to help you out. -alex On Mon, 12 Nov 2001, Michael Wray wrote: Thanks for the suggestions, but here's my 2 cents on DBI/DBD::Pg:. I would LOVE to use DBD::Pg...I

Re: DBD::Pg func() question

2001-11-10 Thread Alex Pilosov
Why are you using func()? You should be using dbd-table_attributes(tablename) But actually, yes, DEFAULT is not being set by DBD::Pg. If you want to fix it, please edit table_attributes function in Pg.pm in DBD::Pg source. -alex On 9 Nov 2001, Brad Hilton wrote: Hello, I am new to using

Re: dbi:Pg slowness

2001-10-31 Thread Alex Pilosov
First thing that comes to mind: a) do you have an index on tqosinsp_rwd? b) did you vacuum the table in question? 6000 transactions per hour seems awfully slow. It would also help if you provide structure of the tables. Version of postgres, too. If there are awfully large rows, performance will

RE: = NULL vs. IS NULL

2001-10-23 Thread Mitsuda, Alex
To: 'Mitsuda, Alex '; '[EMAIL PROTECTED] ' Subject: RE: = NULL vs. IS NULL Then explain assigning NULL to values in the update query and not being able to query based on NULL as for foo=NULL, but set foo=NULL is legal. Ilya -Original Message- From: Mitsuda, Alex To: [EMAIL PROTECTED] Sent: 10/23

RE: = NULL vs. IS NULL

2001-10-23 Thread Alex Pilosov
change their implementation of '=null' even between versions. -alex On Tue, 23 Oct 2001, Sterin, Ilya wrote: So if NULL is not defined, what's the difference between is NULL and =NULL. I guess my disagreement comes from not being able to ask for undefined field by =undefined, but rather

Re: Anyone using PostgreSQL?

2001-10-12 Thread Alex Pilosov
Yes, and it rocks my socks. :) -alex On Fri, 12 Oct 2001, Mark Riehl wrote: All - Just curious if anyone is successfully using DBI with PostgreSQL under Linux? I don't see a lot of traffic about it and may need to use it in the near future. Thanks, Mark -- Mark Riehl Agile

Re: [OT] Bulk Updates Using Joins or Some Such Nonsense

2001-10-10 Thread Alex Pilosov
is that standard syntax? :-) ANSI SQL3, maybe even SQL2. -alex

Re: [OT] Bulk Updates Using Joins or Some Such Nonsense

2001-10-10 Thread Alex Pilosov
On Wed, 10 Oct 2001, Jeff Zucker wrote: Alex Pilosov wrote: On Wed, 10 Oct 2001, Jeff Zucker wrote: Steve Howard wrote: The Standard SQL syntax for updating based on a join is this UPDATE Table1 Set Column1 = r.Column1, Column2 = r.Column2 FROM

Re: DBD-Pg Segmentation Fault

2001-10-08 Thread Alex Pilosov
you run this program. If nothing helps, do a 'where' on coredump, that should help. (gdb perl core, then 'where') -alex On Thu, 4 Oct 2001, Matt Nelson wrote: I have come up with a small perl script which consistently causes a segmentation fault using DBD-Pg. I have included it below, along

Re: Encrypted data via dbi into postgres

2001-10-03 Thread Alex Pilosov
You must use bytea type on postgres side to insert binary data, and bind your variable as SQL_BINARY. ALternatively, byte64 or hex encode your binary data. On Wed, 3 Oct 2001, K Old wrote: Hello, I am trying to load encrypted data (a credit card number encrypted by the Crypt::Twofish

DBI Version Problem

2001-10-02 Thread Alex Kirk
, DBI-1.20 installed just fine, with make test giving no errors. Thanks, Alex Kirk

RE: Avoid Error if no result

2001-09-23 Thread Alex Gerasev
handler you'll be able to pay attention only to certain errors or print HTML messages to user's browser, for example. Just be sure to handle WARN signals that are not caused by DBI errors properly. Regards, Alex Gerasev [EMAIL PROTECTED]

Re: DBD::CSV problem sorting ISO style dates

2001-09-11 Thread Alex Schuilenburg
Jeff Zucker wrote: Alex Schuilenburg wrote: Hi I have successfully been using DBD::CSV for the last year and recently upgraded to Red Hat 7.0 from 6.2. The problem is that ever since the upgrade, the ORDER BY clause on an ISO date field (i.e -mm-dd,m e.g. 2001-09-10) no longer

DBD::CSV problem sorting ISO style dates

2001-09-10 Thread Alex Schuilenburg
. The same years are grouped together but the comparison does not continue after the first '-'). I tried various 'locale's, but simply cannot. Switching back to 6.2 it all works again. Any ideas? Thanks -- Alex

Re: DBD::CSV problem sorting ISO style dates

2001-09-10 Thread Alex Schuilenburg
Alex Schuilenburg wrote: Hi I have successfully been using DBD::CSV for the last year and recently upgraded to Red Hat 7.0 from 6.2. The problem is that ever since the upgrade, the ORDER BY clause on an ISO date field (i.e -mm-dd,m e.g. 2001-09-10) no longer works. The sort

  1   2   >