I'm developing an application in c# .NET that is connected to a PostgresSQL 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 ?
I'm developing an application in c# .NET that is connected to a PostgresSQL 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 ?
PostgreSQL does not use or support named pipes for client connections.
For local PostgreSQL connections you can use the following connection string with Npgsql:
NpgsqlConnection conn = new NpgsqlConnection("Database=DatabaseName;User Id=postgres;Password=mypassword;");