Skip to content

Commit a5b8cff

Browse files
stormshield-kgweiznich
authored andcommitted
Fix PostgreSQL array OID for OID
1 parent 248800c commit a5b8cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diesel/src/pg/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub mod sql_types {
4949
/// [`OID`]: https://www.postgresql.org/docs/current/datatype-oid.html
5050
#[cfg(feature = "postgres_backend")]
5151
#[derive(Debug, Clone, Copy, Default, QueryId, SqlType)]
52-
#[diesel(postgres_type(oid = 26, array_oid = 1018))]
52+
#[diesel(postgres_type(oid = 26, array_oid = 1028))]
5353
pub struct Oid;
5454

5555
/// The ["timestamp with time zone" SQL type][tz], which PostgreSQL abbreviates

0 commit comments

Comments
 (0)