Re: puzzling perl DBI vs psql problem

Поиск
Список
Период
Сортировка
От Susan Cassidy
Тема Re: puzzling perl DBI vs psql problem
Дата
Msg-id CAE3Q8okN-toK7iPf=A=i+vXB82=Vcw=WX2ZXF_-4J4+MxCUkww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: puzzling perl DBI vs psql problem  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-general
I finally figured it out, after changing my code to output the lines per the number of rows of output, instead of until data[0] was blank.  It turned out that data[0] was sometimes blank, and I forgot about that, and was stopping the output after I got back an empty record (or so I thought).

So, all my fault.

The syslog thing I fixed by changing log_min_duration to 0, instead of letting it default.  I don't think this used to be the default (to not log any statements).

Thanks for all the ideas, anyway, folks.

Thanks again,
Susan


On Thu, Mar 13, 2014 at 2:27 PM, Rob Sargent <robjsargent@gmail.com> wrote:
On 03/13/2014 03:23 PM, Susan Cassidy wrote:
The only one that comes out different is inet_server_addr,  via the program, it comes out:
::1
whereas via psql it comes out empty.

Yes, I am 100% sure I am using the same schema (which I never specify, so I am using 'public') and the same user and database.

Susan



Unless username is also a schema name, then you're in that schema.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Susan Cassidy
Дата:
Сообщение: Re: puzzling perl DBI vs psql problem
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: [BUGS] Very slow query in PostgreSQL 9.3.3