Re: Urgent Support Need

From: Sunil Choudhary <choudhary(dot)sunil0415(at)gmail(dot)com>
To: Dave Cramer <davecramer(at)postgres(dot)rocks>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Urgent Support Need
Date: 2021-08-20 15:40:24
Message-ID: CAK2VHV+E6pg=q0i5LNaCXFRfjRqaNcsQ45fBeKh7xyZ+2aL8dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks, I'll check it out.

On Fri, Aug 20, 2021, 20:59 Dave Cramer <davecramer(at)postgres(dot)rocks> wrote:

> It just occurred to me that it is also possible that the search_path may
> be wrong. Again without more information it is difficult to say.
>
> Can you try writing a small java program to test this out ?
>
> ie
>
> public static void main(String []args) throws Exception {
>
>
> String url = "jdbc:postgresql://localhost:5432/test";
>
> Properties props = new Properties();
> props.setProperty("user", "test");
> props.setProperty("password", "test");
> try ( Connection conn = DriverManager.getConnection(url, props) ){
> try ( Statement statement = conn.createStatement() ) {
> try (ResultSet rs = statement.executeQuery( "select * from
> templates ") ){
> if (rs.next())
> System.out.println( "Get String: " +
> rs.getString(1));
> }
> }
> }
> }
> }
>
> On Fri, 20 Aug 2021 at 11:23, Dave Cramer <davecramer(at)postgres(dot)rocks>
> wrote:
>
>>
>>
>> On Fri, 20 Aug 2021 at 11:17, Sunil Choudhary <
>> choudhary(dot)sunil0415(at)gmail(dot)com> wrote:
>>
>>> We check manually that table was exist in database on that time...there
>>> was no changes... it's work post grant access... Is there any internal
>>> calls in postgress?
>>>
>>
>> With what you have provided. The connection that is producing the error
>> is connected to a database that does not have a templates table.
>>
>> Without more information there is little we can help you with.
>>
>> I am not sure what you mean by "internal calls"?
>>
>> Dave
>>
>>>
>>>>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Gerard H. Pille 2021-08-21 13:15:07 pg_basebackup behavior on non-existent slot
Previous Message Dave Cramer 2021-08-20 15:29:13 Re: Urgent Support Need