PostgreSQL supports serial and serial4 type for 4 bytes integer auto increment column. bigserial or serial8 can be used for 8 bytes integer auto increment column.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public override string GetIdentityColumnString(
	DbType type
)
Visual Basic
Public Overrides Function GetIdentityColumnString ( _
	type As DbType _
) As String
Visual C++
public:
virtual String^ GetIdentityColumnString(
	DbType type
) override

Parameters

type
Type: System.Data..::..DbType

[Missing <param name="type"/> documentation for "M:NHibernate.Dialect.PostgreSQL81Dialect.GetIdentityColumnString(System.Data.DbType)"]

Return Value

bigserial if type equal Int64, serial otherwise

See Also