I’m developing an application in c# .NET that is connected to a PostgreSQL database through TCP/IP with ODBC.
It is possibile to connect through named pipes ? How can i do ?
Do i need to modify connection string ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For local PostgreSQL connections you can use the following connection string with Npgsql:
NpgsqlConnection conn = new NpgsqlConnection("Database=DatabaseName;User Id=postgres;Password=mypassword;");