Create table with primary key and notices with DBD::Pg 0.95

Поиск
Список
Период
Сортировка
От Philip Molter
Тема Create table with primary key and notices with DBD::Pg 0.95
Дата
Msg-id S2LA6.133569$QC3.8090597@news3.aus1.giganews.com
обсуждение исходный текст
Список pgsql-interfaces
This probably isn't a problem with DBD::Pg per se, but it's something that
doesn't appear to be working properly with that, so ...

When you create a table with a primary key, you get the dreaded warning:
 NOTICE:  CREATE TABLE/PRIMARY KEY will create implicit index 'tablename_pkey' for table 'tablename'

Is there ANY way to shut this warning off?  I'm working on a large-scale
dynamic database system that periodically creates its own tables, and these
notices are filling up my log files with garbage.  Passing 'PrintError' => 0
to the DBI->connect() method shuts off every other warning, but apparently
this one is being printed directly to STDERR, probably from inside a
library, but I can't be sure.

Any ideas?

Thanks in advance for any assistance.
Philip






В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "John Menke"
Дата:
Сообщение: error compiling 7.1 jdbc driver
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: error compiling 7.1 jdbc driver