PostgreSQL 주간 늬우스

소타의 이미지

pgsql-announce에 매주 올라오는 PostgreSQL Weekly News를 매주 리플로 달겠습니다

http://www.postgresql.org/

PostgreSQL 뉴스 아카이브
http://www.postgresql.org/about/newsarchive

PostgreSQL announce 메일링 리스트
http://archives.postgresql.org/pgsql-announce/

댓글

소타의 이미지

== PostgreSQL Weekly News - April 15 2007 ==

Lots of lively discussions going on in this (we hope) brief
post-feature-freeze period.

== PostgreSQL Product News ==

PgBouncer 1.0.6 released.
http://pgfoundry.org/projects/pgbouncer/

PostgreSQL PHP Generator released.
http://www.sqlmaestro.com/products/postgresql/phpgenerator/

Skytools 2.1.3 released.
http://pgfoundry.org/projects/skytools/

== PostgreSQL Jobs for April ==

http://archives.postgresql.org/pgsql-jobs/2007-04/threads.php

== PostgreSQL Local ==

Get on the Road to PgDay!
http://www.pgday.it/en/node/95

Registration is open for PGCon 2007
http://www.pgcon.org/2007/registration.php

== PostgreSQL in the News ==

Planet PostgreSQL: http://www.planetpostgresql.org/

General Bits, Archives and occasional new articles:
http://www.varlena.com/GeneralBits/

PostgreSQL Weekly News is brought to you this week by David Fetter

To get your submission into the upcoming issue, make sure it arrives
at david ( at ) fetter ( dot ) org or in German at pwn ( at ) pgug ( dot ) de by Sunday at 3:00pm
Pacific Time.

적용된 패치에 대한 내용은 위의 http://archives.postgresql.org/pgsql-announce/2007-04/msg00007.php 에서 볼 수 있음

athxue의 이미지

Mysql만 사용해서 몇달동안 프로그래밍을 했었는데요, PostgreSQL사용시 테이블 모델링부터
다르게 해야 한다고 들은것 같습니다. 혹시 Mysql에서 PostgreSQL로 전환하면 개념적으로
바뀌는게 많을까요?

소타의 이미지

요즘의 mysql도 그렇지만 pgsql은 RDBMS라서 모델링이 좀 다르긴 하죠 ㅎ;
추구하는 바도 다르고요.. pgsql은 데이터 타입이나 이런쪽에 훨씬 엄격하고 그렇습니다. 2007-02-29 같은 유효하지 않은 날짜나 euc-kr일 경우 햏 이런 글자는 입력 안되고요. 물론 uhc나 unicode를 통해서 가능합니다.
mysql에서는 [var]char(5) 이렇게 해놓으면 5글자 넘으면 에러 안나는데 pgsql은 에러냅니다.
모델링 뿐 아니라 쿼리도 좀 다르구요 ㅎㅎ
인덱스도 종류가 여러가지라서 데이터 타입이나 조회시의 쿼리에 맞춰서 선택할 수 있고 그렇습니다

RDBMS에 익숙하다면 pgsql로 이전하는데 그리 어렵지 않구요. 다양하고 강력한 기능들이 많습니다.
다른 DBMS들도 각기 특색이 있고 장단이 있듯이요. 오픈소스 DBMS중에는 오라클과 가장 기술격차가 적다고 생각합니다
한번 빠지면 못헤어나요 하악하악;

daybreak의 이미지

음.. 죄송한데..
PostgreSQL은 ORDBMS 아닌가요?
MySQL은 RDBMS 맞는것 같은데요.

소타의 이미지

ORDBMS맞죠..
근데 이놈이 아직 반쯤 ORDBMS입니당 -.-;
사용자 타입, 상속 등의 특성이 있긴 한데 이중에 상속쪽 관련되어 개발하던 사람이 사라져서 몇년째 반쪽이 기능으로 남이 있걸랑요;;
테이블 상속은 잘 동작하지만 인덱스, 제약 등은 상속이 안되서 아직 쓸만한 놈이 못됩니다
몇년째 이것들과 관련해서 TODO에 있는데 해결이 안되네요.. 이것만 되면 1:n 테이블들을 따로 만들고 렐레이션 걸어주고 조인할 필요가 없어지는데 말이죠

소타의 이미지

아; 제가 엉뚱한 답글을 단 것 같네요;;;

pgsql만 RDBMS이고 mysql은 그렇지 않다는게 아니구요.
보통 이 두 DBMS에 대한 고정관념은 신뢰성(트랜젝션과 관련된 데이터 무결성 얘기가 들어가죠) VS 스피드 대결 구도였습니다;
하지만 시간이 수년이 흘렀고 mysql은 4.x, 5.x에서 트랜젝션과 트리거 등의 기능들이 추가되었고 pgsql은 7.4, 8.2릴리즈 때 성능이 많이 좋아졌습니다. 점점 기술격차가 사라지고 있죠

mysql이 트랜젝션을 안정적으로 지원하기 시작한게 이 시간들에 비하면 아직 짧은데요. 3.x쓰던 시절에는 정말 다들 힘드셨을겁니다. 이때는 RDBMS스러운 모델링을 해봤자였죠.. 어플리케이션에서 다 처리해줬어야 했구요. 조인만 되면 RDBMS냐고 투덜거리던게 생각납니다;;;
하지만 이젠 외래키 액션이나 트리거 같은게 되니 하물며 mysql 버전마다도 모델링이 틀려지는데 pgsql 고유의 기능들이 들어가게 되면 모델링을 할 때 더 생각해야 할게 많아질 수도 있고 오히려 복잡한 부분이 쉽게 해결될 수도 있습니다. 배열 컬럼이나 composite 타입, 테이블 상속 같은게 그런 예구요.
두 DBMS의 기술격차가 좁혀지고 있다고 해도 전 아직 두 칼의 용도가 다르다고 생각하는 사람입니다 ㅎㅎ

daybreak의 이미지

제가 댓글 단 바로 그것은 모르는 사람이 보면 MySQL은 RDBMS도 아닌줄 오해할 소지가 있지 않을까요?

말씀하신 사항은 저도 잘 알고 있습니다.

둘이 기술격차가 좁혀진다기 보다는 애초에 추구한 방향이 다르다고 생각합니다.

소타의 이미지

조만간 8.2.4가 나올것 같습니다. 문서 변경 작업도 활발하네요 =)
FTP에는 이미 릴리즈 되었고 미러링이 완료되는대로 발표할 것 같네요

  • Support explicit placement of the temporary-table schema within search_path, and disable searching it for functions and operators (Tom)
  • This is needed to allow a security-definer function to set a truly secure value of search_path. Without it, an unprivileged SQL user can use temporary objects to execute code with the privileges of the security-definer function (CVE-2007-2138). See CREATE FUNCTION for more information.
  • Fix shared_preload_libraries for Windows by forcing reload in each backend (Korry Douglas)
  • Fix to_char() so it properly upper/lower cases localized day or month names (Pavel Stehule)
  • /contrib/tsearch2 crash fixes (Teodor)
  • Require COMMIT PREPARED to be executed in the same database as the transaction was prepared in (Heikki)
  • Allow pg_dump to do binary backups larger than two gigabytes on Windows (Magnus)
  • New traditional (Taiwan) Chinese FAQ (Zhou Daojing)
  • Prevent the statistics collector from writing to disk too frequently (Tom)
  • Fix potential-data-corruption bug in how VACUUM FULL handles UPDATE chains (Tom, Pavan Deolasee)
  • Fix bug in domains that use array types (Tom)
  • Fix pg_dump so it can dump a serial column's sequence using -t when not also dumping the owning table (Tom)
  • Planner fixes, including improving outer join and bitmap scan selection logic (Tom)
  • Fix possible wrong answers or crash when a PL/pgSQL function tries to RETURN from within an EXCEPTION block (Tom)
  • Fix PANIC during enlargement of a hash index (Tom)
  • Fix POSIX-style timezone specs to follow new USA DST rules (Tom)

    그리고 8.3.0은 7월을 목표로 작업중이라 하네요

    아래는 PostgreSQL 주간 늬우스 입니다

    Quote:
    == PostgreSQL Weekly News - April 22 2007 ==

    Bug fix releases 8.2.4, 8.1.9, 8.0.13, 7.4.17 and 7.3.19 will be out soon. Schedule that upgrade now :)

    == PostgreSQL Product News ==

    PgBouncer 1.0.7 released.
    http://pgfoundry.org/projects/pgbouncer/

    pgpool-II is Fedora Core and EPEL
    Devrim GUNDUZ

    PL/Proxy 2.0.2 released.
    http://pgfoundry.org/projects/plproxy/

    Skytools 2.1.4 released.
    http://pgfoundry.org/projects/skytools/

    == PostgreSQL Jobs for April ==

    http://archives.postgresql.org/pgsql-jobs/2007-04/threads.php

    == PostgreSQL Local ==

    Get on the Road to PgDay!
    http://www.pgday.it/en/node/95

    Registration is open for PGCon 2007
    http://www.pgcon.org/2007/registration.php

  • 소타의 이미지

    대부분 특수상황에서 DB가 멈추는 문제점들과 몇가지 사소한 문제점들을 수정한 패치버전입니다.

    그리고, m$ windows 용에서 몇가지 수정 되었고.

    변경사항들을 살펴보고 있는데, 일반적인 업무패턴에서는 발생할 가능성이 별로 없는 것들에 대한 수정들이네요.

    단지 사용자 정의 함수 만드는 부분에서 다른 사람 권한을 이용할 수 있는 보안 버그 때문에 이 릴리즈를 발표한 것 같습니다.

    여튼 아직까지 8.2.3 이하 버전을 사용하고 있다면, 이참에 바꾸어 보는 것도 괜찮을 것같네요.

    ftp://ftp.postgresql.or.kr

    에서 구하실 수 있습니다.

    원문: http://database.sarang.net/?inc=read&criteria=pgsql&subcrit=news&aid=7111

    소타의 이미지

    마이너 릴리즈입니다
    따라서 각 메이저 버전의 최신버전이라면 바로 윗버전으로 업그레이드 할 때 dump/restore 작업이 필요없습니다
    빨리 우분투에 올라왔으면 좋겠네요 ㅎㅎ
    우분투를 쓰는 첫번째 이유가 새 PostgreSQL이 릴리즈 되면 가장 빨리 포함된다는;;

    아래는 릴리즈에 대한 announce 메일링 리스트의 원문입니다

    Quote:
    The PostgreSQL Global Development Group has released updated versions
    for PostgreSQL 8.2 and all back versions to patch a privilege escalation
    exploit in SECURITY DEFINER functions. All users of this feature are
    urged to update to the latest minor version and follow instructions on
    securing these functions as soon as possible. This minor release also
    contains other fixes, so all users should plan to deploy it.

    Once you have updated, additional steps are required to secure your
    database against the exploit. Please read the release notes at
    http://www.postgresql.org/docs/8.2/static/release.html and the TechDocs
    article at http://www.postgresql.org/docs/techdocs.77 on how to
    lock down your security definer functions, if you use them.

    Downloads are in the usual places, http://www.postgresql.org/download.
    As always, application of a minor release does not require a dump and
    reload of the database.

    The frequency of security fixes recently is a result of increased
    scrutiny of the PostgreSQL code by government agencies and
    security-conscious companies. Rapid turnaround on security patches is
    key to keeping PostgreSQL the most secure SQL database. Your work and
    vigilance in applying the latest security updates ensures that there
    will never be a PostgreSQL "worm".

    소타의 이미지

    이번주에는 릴리즈와 관련된 소식외에 특별한게 없네요~
    EnterpriseDB 8.2가 릴리즈 되었고 tsearch2의 이탈리아어 사전이 GPL로 풀렸답니다

    Quote:
    == PostgreSQL Weekly News - April 29 2007 ==

    Security releases 8.2.4, 8.1.9, 8.0.13, 7.4.17 and 7.3.19 are out.
    Schedule that upgrade now :)

    == PostgreSQL Product News ==

    EnterpriseDB 8.2 released.
    http://www.enterprisedb.com/news_events/press_releases/04_23_07.do

    A full-text dictionary for Italian released under the GPL.
    http://www.develer.com/~piro/ispell-italian/italian-fts.html

    Continuent Uni/Cluster for PostgreSQL 2007 released.
    http://www.continuent.com/index.php?option=com_content&task=view&id=212&Itemid=169

    권순선의 이미지

    답글보다는 개별 블로그 엔트리로 올려 주시는 것이 더 좋을 것 같습니다~

    소타의 이미지

    릴리즈 될때는 그렇게 할께요 ^^;
    이건 매주 날아오는 주간 늬우스 메일링이라서 ㅋ;

    소타의 이미지

    이번주는 이정도군요 =)

    DataArchitect 4.0 released.
    http://www.thekompany.com/products/dataarchitect/

    psqlODBC 08.02.0400 released.
    http://psqlodbc.projects.postgresql.org/release.html

    pyswarm 0.7.1 released.
    http://pyswarm.sourceforge.net/

    PostgresDAC 2.3.9-beta2 has been released
    http://microolap.com/products/connectivity/postgresdac/

    댓글 달기

    Filtered HTML

    • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
    • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
    • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
    • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

    BBCode

    • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
    • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
    • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
    • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

    Textile

    • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
    • You can use Textile markup to format text.
    • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

    Markdown

    • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
    • Quick Tips:
      • Two or more spaces at a line's end = Line break
      • Double returns = Paragraph
      • *Single asterisks* or _single underscores_ = Emphasis
      • **Double** or __double__ = Strong
      • This is [a link](http://the.link.example.com "The optional title text")
      For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
    • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
    • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

    Plain text

    • HTML 태그를 사용할 수 없습니다.
    • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
    • 줄과 단락은 자동으로 분리됩니다.
    댓글 첨부 파일
    이 댓글에 이미지나 파일을 업로드 합니다.
    파일 크기는 8 MB보다 작아야 합니다.
    허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
    CAPTCHA
    이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.