Re: Problem in "Set search path"

From: "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org>
To: Kalai R <softlinne(dot)kv(at)gmail(dot)com>
Cc: PgSql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem in "Set search path"
Date: 2013-03-25 15:49:21
Message-ID: CACUQdMaSaWiUE_6WFMiaBVPb+Q5Sn0y28HEcpqcEVwxD_YCTCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)kv(at)gmail(dot)com> wrote:

>
>
> ---------- Forwarded message ----------
> From: Kalai R <softlinne(dot)kv(at)gmail(dot)com>
> Date: Fri, Mar 22, 2013 at 9:36 AM
> Subject: Re: [GENERAL] Problem in "Set search path"
> To: Alban Hertroys <haramrae(at)gmail(dot)com>
>
>
> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2013-03-25 16:04:37 Re: PostgreSQL and VIEWS
Previous Message jayaram s 2013-03-25 11:35:31 help me to clear postgres problem