PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
- Pozyskiwanie funduszy unijnych
- Wieczor Panienski
- Biuro rachunkowe Opole
- Fotografia Ślubna
- Projektowanie Stron Poznań
- Opony
- Producent Odzieży Roboczej
- Meble Sklepowe
Czytnik RSS
» Przeglądarka Internetowa Google'a do pobraniaGoogle zaprezentował dziś nową, zbudowaną w oparciu o otwarte oprogramowanie, przeglądarkę mającą ułatwić użytkownikom na całym świecie korzystanie z sieci. Dostępny w wersji beta w 43 językach, Google Chrome odzwierciedla nowe podejście do przeglądarek, oparte na prostych i skutecznych rozwiązaniach, do których przyzwyczajeni są użytkownicy produktów Google.
» Wygraj Windows 7 już dziś!
23 marca ruszył konkurs organizowany przez Microsoft i portal CentrumXP.pl. Na stronie internetowej www.WindowsRozwinieSkrzydla.pl przez dwa miesiące internauci będą odpowiadali na pytania dotyczące znajomości usługi Windows Live. Zbierając punkty w kolejnych rundach, będą walczyli o 500 nagród o łącznej wartości ponad 250 tysięcy złotych. Konkurs trwa od 23 marca do 27 kwietnia. Dwa razy w tygodniu na stronie konkursowej publikowane będą testy składające się z 7 pytań sprawdzających wiedzę internautów o Windows Live. Bazą wiedzy jest sam portal CentrumXP.pl, gdzie będzie można odnaleźć podpowiedzi do pytań konkursowych. Po zakończeniu każdej rundy osoby z największą liczbą punktów będą otrzymywały nagrody. Konkurs ma swój profil na Windows Live Spaces, gdzie prowadzony jest specjalny blog: WindowsRozwinieSkrzydla.Spaces.Live.com na którym będą ogłaszane dodatkowe zadania dla uczestników konkursu. Wśród nagród znajduje się 100 sztuk systemu Windows 7 Ultimate i Home Premium, wysyłanych w dniu premiery, Notebooki Samsung R710 oraz Samsung NC10, Windows Vista, Microsoft Office 2007 dla Użytkowników Domowych i wiele, wiele innych.
» Toshiba pokazuje nowe telewizory LED LCD
Rodzina telewizorów REGZA wzbogaciła się o trzy nowe modele, które pokazano w trakcie targów IFA 2010. Panele podświetlane diodami LED będą sprzedawane w kilku rozmiarach. Wszystkie będą wspierały technologię 3D.
» Acunetix WVS V7 chroni przed atakami strony WWW
Acunetix ogłosił dostępność wersji 7 Acunetix Web Vulnerability Scanner, kompleksowego narzędzia audytu bezpieczeństwa, które automatycznie sprawdza strony i aplikacje webowe pod kątem dynamicznych ataków typu SQL Injection, XSS i innych.
8.12. object identifier types
object identifiers (oids) are used internally by postgresql as primary keys for various system tables. oids are not added to user-created tables, unless with oids is specified when the table is created, or the default_with_oids configuration variable is enabled. type oid represents an object identifier. there are also several alias types for oid: regproc, regprocedure, regoper, regoperator, regclass, and regtype. table 8-19 shows an overview.
the oid type is currently implemented as an unsigned four-byte integer. therefore, it is not large enough to provide database-wide uniqueness in large databases, or even in large individual tables. so, using a user-created table's oid column as a primary key is discouraged. oids are best used only for references to system tables.
the oid type itself has few operations beyond comparison. it can be cast to integer, however, and then manipulated using the standard integer operators. (beware of possible signed-versus-unsigned confusion if you do this.)
the oid alias types have no operations of their own except for specialized input and output routines. these routines are able to accept and display symbolic names for system objects, rather than the raw numeric value that type oid would use. the alias types allow simplified lookup of oid values for objects. for example, to examine the pg_attribute rows related to a table mytable, one could write
select * from pg_attribute where attrelid = 'mytable'::regclass;
rather than
select * from pg_attribute where attrelid = (select oid from pg_class where relname = 'mytable');
while that doesn't look all that bad by itself, it's still oversimplified. a far more complicated sub-select would be needed to select the right oid if there are multiple tables named mytable in different schemas. the regclass input converter handles the table lookup according to the schema path setting, and so it does the "right thing" automatically. similarly, casting a table's oid to regclass is handy for symbolic display of a numeric oid.
table 8-19. object identifier types
| name | references | description | value example |
|---|---|---|---|
| oid | any | numeric object identifier | 564182 |
| regproc | pg_proc | function name | sum |
| regprocedure | pg_proc | function with argument types | sum(int4) |
| regoper | pg_operator | operator name | + |
| regoperator | pg_operator | operator with argument types | *(integer,integer) or -(none,integer) |
| regclass | pg_class | relation name | pg_type |
| regtype | pg_type | data type name | integer |
all of the oid alias types accept schema-qualified names, and will display schema-qualified names on output if the object would not be found in the current search path without being qualified. the regproc and regoper alias types will only accept input names that are unique (not overloaded), so they are of limited use; for most uses regprocedure or regoperator is more appropriate. for regoperator, unary operators are identified by writing none for the unused operand.
an additional property of the oid alias types is that if a constant of one of these types appears in a stored expression (such as a column default expression or view), it creates a dependency on the referenced object. for example, if a column has a default expression nextval('my_seq'::regclass), postgresql understands that the default expression depends on the sequence my_seq; the system will not let the sequence be dropped without first removing the default expression.
another identifier type used by the system is xid, or transaction (abbreviated xact) identifier. this is the data type of the system columns xmin and xmax. transaction identifiers are 32-bit quantities.
a third identifier type used by the system is cid, or command identifier. this is the data type of the system columns cmin and cmax. command identifiers are also 32-bit quantities.
a final identifier type used by the system is tid, or tuple identifier (row identifier). this is the data type of the system column ctid. a tuple id is a pair (block number, tuple index within block) that identifies the physical location of the row within its table.
(the system columns are further explained in section 5.4.)
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron