Search Postgresql Archives

Re: Problem in "Set search path"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Did you try to set the search_path in the connection string? This way you won't need to set the search_path manually. Npgsql will take care of it to you.

I hope it helps.



On Fri, Mar 22, 2013 at 1:07 AM, Kalai R <softlinne.kv@xxxxxxxxx> wrote:


---------- Forwarded message ----------
From: Kalai R <softlinne.kv@xxxxxxxxx>
Date: Fri, Mar 22, 2013 at 9:36 AM
Subject: Re: Problem in "Set search path"
To: Alban Hertroys <haramrae@xxxxxxxxx>


Hi,
 
Is that the same connection object in ,NET or the same connection to a connection pool or the same database connection? That's not necessarily the same.
I use the same npgsql connection object in .net
 
 
Might try temporarily turning up the logging in postgresql.conf to 'all' and see what is actually being done on the server.

Did you know you can set a search_path on user (role) objects and on database objects in the database? That might just take out your need to specify it in your ,NET application.

I try to find out my problem by your ideas. Thanks guys.
 
Regards
Kalai





--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://gplus.to/franciscojunior
http://fxjr.blogspot.com
http://twitter.com/franciscojunior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux