PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
- Szkolenie Nieruchomości
- Hotel Opole
- Słownik polsko norweski
- Imola
- Agencja Reklamowa
- Opony
- Wypożyczalnia Elektronarzędzi
- Profesjonalne Kosmetyki Fryzjerskie
Czytnik RSS
» HTC i Windows Mobile Phone 7 - może być źle.Kiedy wiele firm produkujących telefony komórkowe prowadziło negocjacje z dostawcami Windows Mobile (Microsoft) i Androida (Google) o zawarciu ich w swoich produktach, jednocześnie wyposażając kilka telefonów rocznie w te systemy, HTC stworzyło więcej telefonów opartych o to oprogramowanie niż firmy wiele razy od niej większe. Była to też pierwsza firma, która wprowadziła na rynek telefon komórkowy z systemem operacyjnym Android.Microsoft na targach Mobile World Congress 2009 przytoczył HTC jako wyjątkowego partnera. Trzeba mieć przy tym na uwadze, że wyróżnienie to zostało przyznane, kiedy telefon Google Nexus One produkowany przez HTC jest sprzedawany tylko przez największą konkurencję Microsoftu.HTC zrobiło coś więcej niż proste tworzenie dużej liczby telefonów dla tych systemów operacyjnych. Przykuło uwagę użytkowników swoim designem, który zawierał jedne z największych wyświetlaczy i najlepsze klawiatury QWERTY, jak również mądrymi ruchami, jak zawartym w telefonie Touch Pro 2 trybem głośnomówiącym, aktywującym się po spojrzeniu twarzą na wyświetlacz podczas rozmowy. Jednak co najważniejsze, HTC mocno zainwestowało w tworzenie łatwych w użyciu interfejsów użytkownika dla obu systemów operacyjnych. Zespoły projektujące skupiały się na dostarczaniu skórek jak TouchFlo i Sense zarówno dla Windows Mobile i Androida. Jednak teraz Microsoft radykalnie zmienia Windows Phone 7, dlatego HTC również będzie musiało zmienić swoje oprogramowanie i jednocześnie straci rangę posiadania mocno modyfikowalnych interfejsów użytkownika zarówno dla Windows Mobile i Androida.
» Google prezentuje Aplikacje dla administracji publicznej
Koncern Google zaprezentował oficjalnie nową wersję pakietu Aplikacje Google - przeznaczoną dla użytkowników z instytucji rządowych oraz administracji publicznej. Zestaw Google Apps for Government na razie dostępny jest jedynie w USA - niewykluczone jednak, że z czasem koncern wprowadzi go również na inne rynki.
» Przeglądarka Internetowa Google'a do pobrania
Google 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.
» Serwery Lenovo dla małych i średnich firm
Firma Lenovo chce odgrywać większą rolę na rynku serwerów platformy x86, o czym świadczy fakt, że kilka dni temu wprowadziła do swojej oferty trzy serwery klasy podstawowej. Są to serwery przeznaczone dla małych i średnich firm: dwa stelażowe i jeden wolnostojący.
18.4. role membership
it is frequently convenient to group users together to ease management of privileges: that way, privileges can be granted to, or revoked from, a group as a whole. in postgresql this is done by creating a role that represents the group, and then granting membership in the group role to individual user roles.
to set up a group role, first create the role:
create role name;
typically a role being used as a group would not have the login attribute, though you can set it if you wish.
once the group role exists, you can add and remove members using the grant and revoke commands:
grant group_role to role1, ... ; revoke group_role from role1, ... ;
you can grant membership to other group roles, too (since there isn't really any distinction between group roles and non-group roles). the only restriction is that you can't set up circular membership loops.
the members of a role can use the privileges of the group role in two ways. first, every member of a group can explicitly do set role to temporarily "become" the group role. in this state, the database session has access to the privileges of the group role rather than the original login role, and any database objects created are considered owned by the group role not the login role. second, member roles that have the inherit attribute automatically have use of privileges of roles they are members of. as an example, suppose we have done
create role joe login inherit; create role admin noinherit; create role wheel noinherit; grant admin to joe; grant wheel to admin;
immediately after connecting as role joe, a database session will have use of privileges granted directly to joe plus any privileges granted to admin, because joe "inherits" admin's privileges. however, privileges granted to wheel are not available, because even though joe is indirectly a member of wheel, the membership is via admin which has the noinherit attribute. after
set role admin;
the session would have use of only those privileges granted to admin, and not those granted to joe. after
set role wheel;
the session would have use of only those privileges granted to wheel, and not those granted to either joe or admin. the original privilege state can be restored with any of
set role joe; set role none; reset role;
note: the set role command always allows selecting any role that the original login role is directly or indirectly a member of. thus, in the above example, it is not necessary to become admin before becoming wheel.
note: in the sql standard, there is a clear distinction between users and roles, and users do not automatically inherit privileges while roles do. this behavior can be obtained in postgresql by giving roles being used as sql roles the inherit attribute, while giving roles being used as sql users the noinherit attribute. however, postgresql defaults to giving all roles the inherit attribute, for backwards compatibility with pre-8.1 releases in which users always had use of permissions granted to groups they were members of.
the role attributes login, superuser, createdb, and createrole can be thought of as special privileges, but they are never inherited as ordinary privileges on database objects are. you must actually set role to a specific role having one of these attributes in order to make use of the attribute. continuing the above example, we might well choose to grant createdb and createrole to the admin role. then a session connecting as role joe would not have these privileges immediately, only after doing set role admin.
to destroy a group role, use drop role:
drop role name;
any memberships in the group role are automatically revoked (but the member roles are not otherwise affected). note however that any objects owned by the group role must first be dropped or reassigned to other owners; and any permissions granted to the group role must be revoked.
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron