Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  pg_conversion.h

  Sprache: C
 

/*-------------------------------------------------------------------------
 *
 * pg_conversion.h
 *   definition of the "conversion" system catalog (pg_conversion)
 *
 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/catalog/pg_conversion.h
 *
 * NOTES
 *   The Catalog.pm module reads this file and derives schema
 *   information.
 *
 *-------------------------------------------------------------------------
 */

#ifndef PG_CONVERSION_H
#define PG_CONVERSION_H

#include "catalog/genbki.h"
#include "catalog/objectaddress.h"
#include "catalog/pg_conversion_d.h" /* IWYU pragma: export */

/* ----------------
 *  pg_conversion definition.  cpp turns this into
 *  typedef struct FormData_pg_conversion
 * ----------------
 */

CATALOG(pg_conversion,2607,ConversionRelationId)
{
 /* oid */
 Oid   oid;

 /* name of the conversion */
 NameData conname;

 /* namespace that the conversion belongs to */
 Oid   connamespace BKI_DEFAULT(pg_catalog) BKI_LOOKUP(pg_namespace);

 /* owner of the conversion */
 Oid   conowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);

 /* FOR encoding id */
 int32  conforencoding BKI_LOOKUP(encoding);

 /* TO encoding id */
 int32  contoencoding BKI_LOOKUP(encoding);

 /* OID of the conversion proc */
 regproc  conproc BKI_LOOKUP(pg_proc);

 /* true if this is a default conversion */
 bool  condefault BKI_DEFAULT(t);
} FormData_pg_conversion;

/* ----------------
 *  Form_pg_conversion corresponds to a pointer to a tuple with
 *  the format of pg_conversion relation.
 * ----------------
 */

typedef FormData_pg_conversion *Form_pg_conversion;

DECLARE_UNIQUE_INDEX(pg_conversion_default_index, 2668, ConversionDefaultIndexId, pg_conversion, btree(connamespace oid_ops, conforencoding int4_ops, contoencoding int4_ops, oid oid_ops));
DECLARE_UNIQUE_INDEX(pg_conversion_name_nsp_index, 2669, ConversionNameNspIndexId, pg_conversion, btree(conname name_ops, connamespace oid_ops));
DECLARE_UNIQUE_INDEX_PKEY(pg_conversion_oid_index, 2670, ConversionOidIndexId, pg_conversion, btree(oid oid_ops));

MAKE_SYSCACHE(CONDEFAULT, pg_conversion_default_index, 8);
MAKE_SYSCACHE(CONNAMENSP, pg_conversion_name_nsp_index, 8);
MAKE_SYSCACHE(CONVOID, pg_conversion_oid_index, 8);


extern ObjectAddress ConversionCreate(const char *conname, Oid connamespace,
           Oid conowner,
           int32 conforencoding, int32 contoencoding,
           Oid conproc, bool def);
extern Oid FindDefaultConversion(Oid name_space, int32 for_encoding,
          int32 to_encoding);

#endif       /* PG_CONVERSION_H */

Messung V0.5 in Prozent
C=93 H=94 G=93

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-08-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002