Co to jest Postgresql_psycopg2? Różnica od postgresql?Co to jest Postgresql_psycopg2?
11
A
Odpowiedz
8
Jest to (jedno z) powiązań w Pythonie z biblioteką klienta PostgreSQL. Nie ma nic wspólnego z samym PostgreSQL, niż pozwala programom Python na dostęp do serwera PostgreSQL.
3
Po połączeniu się z bazą danych PostgreSQL najprawdopodobniej użyjesz Psycopg (zaimportowanego do Pythona, który pozwala na zapisanie kodu SQL i przesłanie go do bazy danych). Postgresql_psycopg2 należy do Psycopg2 (druga wersja Psycopg), a postgresql należy do Psycopg (pierwsza wersja).
Jak intgr wspomniano, w przypadku korzystania z Django, psycopg2 jest zalecane (Psycopg nie jest już obsługiwana)
Powiązane problemy
- 1. Co to jest Serializable? Co to znaczy?
- 2. Co to jest "usuń to"?
- 3. Co to jest Pagel?
- 4. Co to jest _GLOBAL_OFFSET_TABLE?
- 5. Co to jest "android.R.layout.simple_list_item_1"?
- 6. Co to jest DetailsView.EnableModelValidation?
- 7. Co to jest NSPathStore2?
- 8. Co to jest czasownik = "*"?
- 9. Co to jest ?
- 10. co to jest .netrwhist?
- 11. co to jest Microsoft.Practices.EnterpriseLibrary.Data
- 12. Co to jest CGVector?
- 13. Co to jest $ {project.licensePath}?
- 14. co to jest alloc.h?
- 15. Co to jest PurpleEventCallback?
- 16. Co to jest global ::?
- 17. Co to jest? rodzaj?
- 18. Co to jest __meteor_bootstrap__?
- 19. Co to jest NuGetPackageImportStamp?
- 20. Co to jest LazyList?
- 21. Co to jest IllegalStateException?
- 22. Co to jest "loadall.so"?
- 23. Co to jest ws: //?
- 24. Co to jest DNVM?
- 25. Co to jest kthreadd_task
- 26. Co to jest AppDomain?
- 27. Co to jest klabject?
- 28. Co to jest UIViewController
- 29. Co to jest głód?
- 30. Co to jest __FILE__?
Albo dokładniej - baza [parametr konfiguracyjny] w Django (http://docs.djangoproject.com/en/dev/topics/install/# get-your-database-running), który poleca mu użycie sterownika psycopg2 (zamiast "postgresql" dla psycopg1). –
co jest najlepsze dla django? postgresql lub postgresql_psycopg2? – xRobot
postgresql_psycopg2. – intgr