public sealed class PostgresqlSourceConfig : IMessage<PostgresqlSourceConfig>, IEquatable<PostgresqlSourceConfig>, IDeepCloneable<PostgresqlSourceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1 API class PostgresqlSourceConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePostgresqlSourceConfig\u003c/code\u003e class in the Google Cloud Datastream V1 API is used to configure a PostgreSQL data source.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003ePostgresqlSourceConfig\u003c/code\u003e is 2.9.0, with previous versions available for reference back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003ePostgresqlSourceConfig\u003c/code\u003e include \u003ccode\u003eExcludeObjects\u003c/code\u003e, \u003ccode\u003eIncludeObjects\u003c/code\u003e, \u003ccode\u003eMaxConcurrentBackfillTasks\u003c/code\u003e, \u003ccode\u003ePublication\u003c/code\u003e, and \u003ccode\u003eReplicationSlot\u003c/code\u003e, allowing customization of data streaming from PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one for creating a new instance and the other to create a new instance from a pre-existing \u003ccode\u003ePostgresqlSourceConfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# DataStream v1 API - Class PostgresqlSourceConfig (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.10.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.9.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.8.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.7.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.6.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.5.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.4.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.3.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.2.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.1.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.0.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/1.0.0/Google.Cloud.Datastream.V1.PostgresqlSourceConfig) \n\n public sealed class PostgresqlSourceConfig : IMessage\u003cPostgresqlSourceConfig\u003e, IEquatable\u003cPostgresqlSourceConfig\u003e, IDeepCloneable\u003cPostgresqlSourceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the DataStream v1 API class PostgresqlSourceConfig.\n\nPostgreSQL data source configuration \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PostgresqlSourceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PostgresqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.PostgresqlSourceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PostgresqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.PostgresqlSourceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PostgresqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.PostgresqlSourceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Datastream.V1](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastream.V1.dll\n\nConstructors\n------------\n\n### PostgresqlSourceConfig()\n\n public PostgresqlSourceConfig()\n\n### PostgresqlSourceConfig(PostgresqlSourceConfig)\n\n public PostgresqlSourceConfig(PostgresqlSourceConfig other)\n\nProperties\n----------\n\n### ExcludeObjects\n\n public PostgresqlRdbms ExcludeObjects { get; set; }\n\nPostgreSQL objects to exclude from the stream.\n\n### IncludeObjects\n\n public PostgresqlRdbms IncludeObjects { get; set; }\n\nPostgreSQL objects to include in the stream.\n\n### MaxConcurrentBackfillTasks\n\n public int MaxConcurrentBackfillTasks { get; set; }\n\nMaximum number of concurrent backfill tasks. The number should be non\nnegative. If not set (or set to 0), the system's default value will be\nused.\n\n### Publication\n\n public string Publication { get; set; }\n\nRequired. The name of the publication that includes the set of all tables\nthat are defined in the stream's include_objects.\n\n### ReplicationSlot\n\n public string ReplicationSlot { get; set; }\n\nRequired. Immutable. The name of the logical replication slot that's\nconfigured with the pgoutput plugin."]]