2018-11-29 20:21:36 +01:00
|
|
|
|
#ifndef PGCOLLATION_H
|
|
|
|
|
|
#define PGCOLLATION_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "PgNamespaceObject.h"
|
|
|
|
|
|
#include "PgOwnedObject.h"
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
#include <libpq-fe.h>
|
|
|
|
|
|
#include "Pgsql_Value.h"
|
|
|
|
|
|
//#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
class PgCollation: public PgNamespaceObject, public PgOwnedObject {
|
|
|
|
|
|
public:
|
|
|
|
|
|
using PgNamespaceObject::PgNamespaceObject;
|
|
|
|
|
|
|
|
|
|
|
|
// Oid oid; // oid
|
|
|
|
|
|
// QString collname; // name
|
|
|
|
|
|
// Oid collnamespace; // oid
|
|
|
|
|
|
// Oid collowner; // oid
|
|
|
|
|
|
int32_t collencoding; // integer
|
|
|
|
|
|
QString collcollate; // name
|
|
|
|
|
|
QString collctype; // name
|
|
|
|
|
|
|
2018-12-24 11:31:56 +01:00
|
|
|
|
QString typeName() const override;
|
2018-11-29 20:21:36 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PGCOLLATION_H
|