Commit graph

22 commits

Author SHA1 Message Date
sno
6aa49cc7e1 PkgSrc changes:
- updating module to 1.12.0

Upstream changes:
2.12.0 Released March 28, 2009

  - Change large object interface from lo_* to pg_lo_* and make them accessible
    via direct $dbh calls (e.g. $dbh->pg_lo_import instead of $dbh->func(..,'pg_lo_import').
    The use of $dbh->func(... 'lo_*') is deprecated. [GSM] (CPAN bug #44467)
  - Throw an exception for large_object functions called when AutoCommit is on,
    but allow pg_lo_import and pg_lo_export to work. Reported by Kynn Jones.
    [GSM] (CPAN bug #44461)
  - Fix a memory leak when parsing returned arrays. Reported by B~A!lint Szilakszi.
    [GSM] (CPAN bug #44225)
  - Do proper dequoting of boolean arrays [Armando Santos, GSM] (CPAN bug #43768)
  - Use pg_get_expr in column_info when available [Adam Sj~A,gren]
  - Fix minor bugs in POD docs. [Frank Wiegand] (CPAN bug #44242)
  - Fix minor bug in POD docs. [Tim Mattison]
2009-04-11 21:37:46 +00:00
he
d567df8fb1 Update from version 2.11.7 to 2.11.8.
This despite one of the selftests still fail.

Upstream changes:

2.11.8 Released December 28, 2008

  - Fix minor bug in t/12placeholders.t test (CPAN bug #41723)
2009-01-18 23:09:00 +00:00
he
0ae1d146a8 Update from version 2.2.2nb3 to 2.11.7.
This despite one of the self-tests failing.

Pkgsrc changes:
 o Change HOMEPAGE to using search.cpan.org


Upstream changes:

2.11.7 Released December 13, 2008

  - Fix placeholder parsing logic (CPAN bug #41582)

2.11.6 Released November 30, 2008 (subversion r12126)

  - Only set UTF8 flag on array items after UTF8 test. (CPAN bug #41253)
    [Armando Santos]

2.11.5 Released November 24, 2008 (subversion r12102)

  - Clear prepared_statement name on failure to prepare: prevents
    the wrong error when using prepare_cached. [GSM]

2.11.4 Released November 12, 2008

  - Don't set LC_MESSAGES unless superuser in tests. Remove all
    language-specific string checking for tests. (CPAN bug #40604)

2.11.3 Released November 3, 2008 (subversion r12031)

  - Force LC_MESSAGES to 'C' inside tests (CPAN bug #40604)
  - Minor compiler tweaks.
  - Fix small POD error (CPAN bug #40209)
  - Tweak Perl::Critic policy list (CPAN bug #40130)

2.11.2 Released October 15, 2008 (subversion r11983)

  - Fix core dump when invalid placeholders used. (CPAN bug #40075) [GSM]

2.11.1 Released October 14, 2008 (subversion r11980)

  - $sth->{ParamTypes} returns 'TYPE' when possible.

2.11.0 Released October 13, 2008 (subversion r11976)

  - $sth->{ParamTypes} now returns a hashref per the DBI docs. [GSM]
  - Adjustment of Makefile.PL to fix problem with Strawberry Perl.
    Thanks to Martin Evan (martin.evans@easysoft.com) and Brian
    (elspicyjack@gmail.com) on the dbi-users list.

2.10.7 Released September 22, 2008 (subversion r11869)

  - Fix test issue when dbname contains dashes.
    [Rainer Tammer]
  - Revert META.yml to 1.0, until such time as tools
    can handle 1.1 (CPAN bug #39461) [Taro Nishino]

2.10.6 Released September 19, 2008 (subversion r11830)

  - Correctly quote all bytea characters. (CPAN bug #39390) [Rod Taylor]
  - Prevent core dump when checking $dbh->{standard_conforming_strings}
    on older servers. [GSM]
  - Skip unicode tests if server is set to 'LATIN1' [GSM]

2.10.5 Released September 16, 2008 (subversion r11800)

  - Fix SIGNATURE file

2.10.4 Released September 16, 2008 (subversion r11797)

  - Force use of math library when compiling. Per report
    of AIX problems by Rainer Tammer.

2.10.3 Released August 31, 2008 (subversion r11706)

  - Previous version had wrong SIGNATURE file

2.10.2 Released August 31, 2008 (subversion r11704)

  - Fix minor problem in t/99_yaml.t

2.10.1 Released August 31, 2008 (subversion r11697)

  - Minor testing fix.

2.10.0 Released August 26, 2008 (subversion r11678)

  - Add the 'DBD' trace setting to output only non-DBI trace messages,
    and allow 'dbd_verbose' as a connection attribute for the same
    effect. [GSM]
  - Fix a minor problem with testing against 7.4 databases [GSM]
  - Allow multi-statement do() calls with parameters to work if pg_server_prepare
    is set to 0 (CPAN bug #38623) [GSM]

2.9.2 Released August 18, 2008 (subversion r11664)

  - Empty Postgres arrays should return empty Perl arrays, not undef.
    (CPAN bug #38552) [David E. Wheeler]

2.9.1 Released August 17, 2008 (subversion r11660)

  - Return undef when mapping Postgres array to Perl array and
    the array is empty '{}'. (CPAN bug #38552) [GSM]
  - Minor documentation improvements. [GSM]

2.9.0 Released August 3, 2008 (subversion r11624)

  - Add support for database handle attribute "ReadOnly". This allows
    use of $dbh->{ReadOnly} = 1 to enforce read only mode at
    the server level. [GSM]
  - Move PQexec structures to statement handle, to prevent
    excessive malloc and free within execute function. [GSM]
  - Add more attribute tests, improve testing system. [GSM]
  - Many documentation improvements. [GSM]
  - Win32 build improvements [T.J. Ferraro]

2.8.7 Released July 24, 2008 (subversion r11582)

  - Modify test scripts to work better on FreeBSD boxes. [GSM]
  - Much documentation improvement and POD tweaking. [GSM]

2.8.6 Released July 21, 2008 (subversion r11558)

  - More testing improvements to increase odds of all tests being
    run, especially when testing as root. [GSM]

2.8.5 Released July 13, 2008 (subversion r11529)

  - Fix an obscure bug in which a coredump occurs if client_min_messages
    is set to DEBUG3 or greater, and we then exit without disconnecting
    while AutoCommit is off. The new behavior is to simply not attempt to
    output the debugging information about the final 'rollback'. [GSM]
  - More documentation improvements. [GSM]

2.8.4 Released July 10, 2008 (subversion r11520)

  - Minor Perl::Critic test adjustments. [GSM]
  - Documentation enhancements. [GSM]
  - Yet more minor testing tweaks. [GSM]

2.8.3 Released July 6, 2008 (subversion r11495)

  - Minor testing functionality tweaks, lots of test cleanups, minor doc enhancements. [GSM]

2.8.2 Released June 29, 2008 (subversion r11466)

  - Minor testing tweaks, doc fixes. [GSM]

2.8.1 Released June 11, 2008 (subversion r11417)

  - Force testing to use a custom socket dir, to avoid
    permission problems. Thanks to Frank Wiegand for
    help in uncovering this. [GSM]

2.8.0 Released June 1, 2008 (subversion r11366)

  - Added in payload strings for LISTEN/NOTIFY in 8.4
    via $dbh->pg_notifies() [GSM]
  - Fixed problem preventing some pg_type bind_arrays
    from working [GSM]
  - Fix tests in t.04misc.t to handle Windows newlines.
    (CPAN bug #36237) [Ian Macdonald]
  - Clean up get_info() information. [GSM]

2.7.2 Released May 14, 2008 (subversion r11269)

  - Handle embedded commas in quotes properly when destringifying
    arrays.(CPAN bug #35862) [GSM]
  - Fix typo in docs with trace_parser_flags() (Martin J. Evans)
  - More testing tweaks [GSM]

2.7.1 Released May 11, 2008 (subversion r11250)

  - Yet more minor testing tweaks. [GSM]

2.7.0 Released May 10, 2008 (subversion r11239)

  - Have $dbh->quote() return E'' when server is >= 8.1 and string contains
    backslashes. Fixes any problems with standard_conforming_strings.
    (CPAN bug #27538) [GSM]

2.6.6 Released May 7, 2008 (subversion r11214)

  - Fix minor problem in t/99_spellcheck.t [GSM]

2.6.5 Released May 7, 2008 (subversion r11209)

  - Add spell checker to tests. [GSM]
  - More tweaks to the testing suite. [GSM]

2.6.4 Released May 2, 2008 (subversion r11186)

  - More tweaks to the test suite. [GSM]

2.6.3 Released May 1, 2008 (subversion r11169)

  - Minor tweaks to the test suite. [GSM]

2.6.2 Released April 30, 2008 (subversion r11161)

  - Fix coredump when pg_getcopydata copies 0 rows into a
    freshly created var. (CPAN bug #35556) [David Harris]
  - Allow 'make test' create a test database from scratch if
    it cannot find an existing one to use. [GSM]

2.6.1 Released April 22, 2008 (subversion r11133)

  - Don't free placeholder section, fixes problem when using
    more than one named placeholder with the same name.
    (CPAN bug #35303) [GSM]

2.6.0 Released April 16, 2008 (subversion r11095)

  - Make pg_notifies a true function, so that you can now
    use $dbh->pg_notifies instead of $dbh->func('pg_notifies') [GSM]
  - Various performance improvements [GSM]
  - Fix minor build and compilation issues with Strawberry Perl [GSM]
  - Add Bundle::DBD::Pg [GSM]

2.5.1 Released April 7, 2008 (subversion r11056)

  - Correctly handle negative PID numbers on Win32 systems when
    generating prepared statement names (CPAN bug # 34738) [GSM]

2.5.0 Released March 23, 2008 (subversion r10990)

  - Add pg_enum_values to $dbh->column_info()
    [Dave Rolsky] (CPAN ticket #34351)
  - Minor test fixes. [GSM]

2.4.0 Released March 21, 2008 (subversion r10974)

  - Remove problematic and unneeded Test::Warn test from 00basic.t.
  - Add $sth->{pg_current_row} [GSM]

2.3.0 Released March 19, 2008 (subversion r10951)

  - Add $sth->{pg_bound} and $sth->{pg_numbound} [GSM]
  - Fix broken call to $sth->{pg_segments} [GSM]
2008-12-18 01:00:43 +00:00
tonnerre
b978ff9b13 Updated databases/p5-DBD-postgresql 1.49 -> 2.2.2
2.2.2
	- Add parse_trace_flag as statement handle method.

2.2.1
	- Fixed memory leaks in dbdimp.c
	- Fixed strlen problems in dbdimp.c
	- Change local trace_flags to lowercase.

2.1.0
	- Add PERL_NO_GET_CONTEXT #define to improve performance on threaded Perls
	- Raise the minimum DBI version to 1.52.
	- Allow arrayrefs into bind_col

2.0.0
	- Make minimum supported server 7.4.
	- Overhaul COPY functions: deprecate pg_getline, pg_putline,
		and pg_endcopy. The new functions are pg_getcopydata,
		pg_getcopydata_async, pg_putcopydata, and pg_putcopyend.
	- Add support for arrays: can pass in arrayrefs to execute, and
		they are automatically returned as arrays when fetching.
	- Add support for asynchronous queries.
	- Allow raw transaction statements through - in other words,
		do not croak if $dbh->prepare("COMMIT") is attempted.
	- Check transaction status after each command, to allow
		things such as 'PREPARE TRANSACTION' to work properly.
	- Add $dbh->{pg_placeholder_dollaronly} to allow '?' and other symbols
		to be used in prepared statements without getting interpreted as
		placeholders, i.e. the geometric operator '?#'
	- Fix memory leak in bytea quoting.
	- Fix memory leak in pg_notifies.
	- Fix memory leak when using savepoints.
	- Use adbin, not adsrc, when figuring out the sequence name for the
		last_insert_id() method. This allows the function to work properly
		if the sequence name is changed. Note that {pg_cache=>0} should be
		passed to the function if you expect this might happen.
	- Use unsigned chars when parsing passed-in queries, preventing UTF-8
		strings from ruining the prepare. UTF-16 may still cause problems.
	- Fix crash when executing query with two placeholders side by side.
	- Skip item if no matching key in foreign_key_info.
	- Fix bug in last_insert_id.
	- Fix pg_description join in table_info().
	- Make sure arrays handle UTF-8 smoothly.
	- Force column names to respect utf8-ness.
	- Make sure array items are marked as UTF as needed.
	- Force SQL_REAL and SQL_NUMERIC to be float8 not float4.
	- Allow objects with stringification overloading to work with quote().
	- Switch from pow to powf to support AIX compiler issue.
	- Add three new columns to column_info, to return unquoted
		version: pg_schema, pg_table, and pg_columns. Add all
		three to primary_key_info, and the first two to table_info.
	- Change $dbh->{User} to $dbh->{Username}
	- Change $dbh->{Name} to return the entire DSN string, minus the
		'dbi:Pg:' part.
	- Allow data_sources to accept optional arguments.
	- Add private_attribute_info() method.
	- Add SQL_INTERVAL and others to types.c
	- Added statistics_info function
	- Be much more flexible in test connection options.
	- Overhaul test suite, allow tests to be run individually.
	- Quick support for named trace level 'SQL'
	- Very experimental support for bind_param_inout, use with caution.
2008-03-13 00:31:12 +00:00
abs
1355906b87 Updated databases/p5-DBD-postgresql 0.48 -> 0.49
1.49
	- Thanks to Backcountry.com for sponsoring work on this release. [GSM]
	- Add the statement handle attribute ParamTypes, and fix an error
		in ParamValues. ParamTypes requires DBI 1.49 or better. [GSM]
	- Strip the final newline from error messages, so that die can add
		in the line number. (CPAN bug #18900) [GSM]
	- Make workaround for PQresultErrorField not returning proper
		result when an error is set and we are connecting via TCP/IP.
		This allows correct $dbh->state() values. [GSM]
	- Fix incorrect quoting preventing compiling. (CPAN bug #18640)
	- Add support for quoting and binding of geometric types: POINT,
		LINE, LSEG, BOX, PATH, POLYGON, and CIRCLE. Also added the
		TID type. [GSM]
2007-06-09 23:45:18 +00:00
hiramatsu
950da8a6b3 Update p5-DBD-postgresql to 1.48.
Changes from 1.41:

1.48 April 5, 2006
        - Bump minimum DBI version to 1.45 (CPAN bug #18260) (plus problems
                in versions 1.42 and 1.44 [GSM]
        - Fix typo in Pg.pm code (CPAN bug #18537) [marc@sssonline.com]
        - Ensure begin_work is properly set before err. (CPAN bug #18387) [GSM]
        - Force PQexecParams to only run with DML. (CPAN bug #18258) [GSM]
        - Fix bytea encoding problem (CPAN bug #18264) [GSM]
        - Add documentation about connection service files (pg_service.conf).
                [David Fetter]

1.47 March 20, 2006
        - Fix problem with selecting arrays. (CPAN bugs #18128 and
                #18177) [GSM]
        - Fix problem with dollar-sign placeholders. [GSM]

1.46 March 16, 2006
        - Fix problem with dollar-sign placeholders. (husseinp@gmail.com)
                (CPAN bug #18209) [GSM]

1.45 February 27, 2006
        - Fix bug preventing bytea values over 20 characters from showing.
                Spotted by Igor Shevchenko. [GSM]

1.44 February 21, 2006
        - Make sure pg_warn does not warn if the database attribute
                PrintWarn is off. (Tyler MacDonald tyler@yi.org) [GSM]
        - Add SIGNATURE file for Module::Signature verification. [GSM]
        - Fix error in documentation for pg_errorlevel.
                (CPAN bug #17434)
        - Add experimental support for using DEFAULT values inside
                of execute with $DBDPG_DEFAULT. [GSM]
        - Return the proper SQLSTATE codes on connection failures.
                (CPAN bug #17115) [GSM]
        - Fix parser to handle leading parens. (CPAN bug #15481) [GSM]
        - Make statement handles destruction abort early if
                InactiveDestroy is set (CPAN bug #14978) [GSM]
        - Make quote work properly for time/date types
                (CPAN bug #15082) [GSM]
        - Ensure all lo_ functions begin a transaction as needed
                if they are the first action in a script
                (CPAN bug # 13810) [GSM]
        - Fix memory leak in dbdimp.c (k@sawada.cc) [Kenchi Sawada]
        - Fix memory leak in dbdimp.c (dmitri@karasik.eu.org)
                (CPAN bug #16054)
        - Move package declaration lines to fix RPM parser problems
                (CPAN bug #14509) [GSM]
        - Add support for dollar quoting (CPAN bug #13608) [GSM]
        - Added $dbh->{pg_default_port} method [GSM]
        - Overhaul get_info data, add many more values [GSM]
        - Overhaul type_info data (CPAN bug #13806) [GSM]
        - Rewrite some of the quoting functions, reduce dependence
                on libpq versions [GSM]
        - Rewrite and optimize the do() method. Should be much faster
                when called without placeholders. Thanks to Tom Lane
                for suggesting this. [GSM]
        - Double check PQserverVersion return and use alternate
                method if it returns 0 (CPAN bug #14302)
        - Add support for specifying type in $dbh->quote(),
                such as $dbh->quote($var, {pg_type => DBD::Pg::PG_BYTEA})
                Also support type => SQL_xx [GSM] (CPAN bug #13942)
        - Fix pg_notifies() bug (CPAN bug #14232) [door@lcpi.ru]
        - Add pg_ping() method [GSM]
        - Make sure ping returns true, even if in failed transaction state
                [thanks to Bill Moseley] [GSM]
        - Fix COPY-related core dump [GSM]
        - Fix strncpy bug in quote.c [Jun Kuriyama] (CPAN bug #14897)
        - Fix error in is_high_bit_set() [Alexey Tourbin] (CPAN bug #13406)

1.43 June 23, 2005
        - Added README.dev file. [GSM]
        - Fix statement-name related core dump. [GSM]
        - Ensure state() returns an empty string, not 00000 on success.
                (CPAN bug #13237) [michael.bell@web.de of OpenCA] [GSM]
        - Fix rare core dump when $sth still in scope after disconnect [GSM]
        - Enhancements to README.win32 [fenlisesi@gmail.com]
        - Fix incorrect sprintf calls (CPAN bug #12204)
                [Jakub Jelinek]
        - Fix get_info(18) ("ODBCVERSION") (CPAN bug #12968)
                [thanks to szinger@lanl.gov] [GSM]

1.42 May 21, 2005
        - Fix minor issues with copying and bytea quoting on older
                servers. Fix some other memory leaks. [GSM]
        - Fix backslash parsing in statements (CPAN bug #12870)
                [felix.klee@inka.de] [GSM]
        - Make rollback/commit reset copy state (CPAN bug #12866)
                [imb@rentrak.com] [GSM]
        - Make sure lo_creat issues a begin if necessary [GSM]
        - Fix incorrect behavior when AutoCommit switched on. (CPAN bug #12748)
                [thanks to Vivek Khera] [GSM]
        - Have last_insert_id use set_err, not die. (CPAN bug #12503)
                [thanks to Alexandra Walford] [GSM]
        - Fixed tests to correctly handle older DBI versions reporting
                failures on last_insert_id() (CPAN bug #12204)
                [jpo@di.uminho.pt] [GSM]
        - Re-enable REMARKS field on column_info (CPAN bug #12399)
                [thanks to morni@cpan.org] [GSM]
        - Many minor compiler optimizations and cleanups [GSM]
        - Fix two separate memory leaks in dbdimp.c
                [hertzog@debian.org and richardg@eSentire.com]
        - Change VARCHAROID to UNKNOWNOID, suggested by users on mailing
                list [GSM]
2006-04-23 14:22:19 +00:00
jwise
f6219b2a4a Missed commit on update to 1.41. 2005-04-08 14:35:31 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
mjl
9c7b6d04db Update p5-DBD-postgresql to 1.22
- Fix memory allocation problem in bytea escaping
  - Add utf8 support
  - Transform Perl arrays into PostgreSQL arrays
  - Fix for foreign_key_info()
  - Fix PG_TEXT parameter binding
  - Doc cleanups
  - Fix warning from func($table, 'table_attributes')
  - Added suppport for schemas
  - Fix binary to a bytea field conversion
2003-04-20 19:47:20 +00:00
mjl
637c77c045 Update p5-DBD-postgresql to 1.21
- System tables no longer returned by tables().
      - Fix table_attributes to handle removal of pg_relcheck in 7.3,
      - Properly reset transaction status after failed transaction when
        autocommit is off.  Properly report transaction failure message.
      - New pg_bool_tf database handle that when set to true booleans are
        returned as 't'/'f' rather than 1/0.
      - Maintenance transferred to GBorg.
      - Added implementations of column_info() and table_info(), and
        primary_key_info().
      - The POD formatting was cleaned up.
      - The preparser was updated to better handle escaped characters.
      - Added eg/lotest.pl as a demonstration of using large objects in buffers
        rather than files.
      - Added LISTEN/NOTIFY functionality.
      - Added constants for common PostgreSQL data types.
      - Fixed compile-time warnings.
2003-01-17 16:41:37 +00:00
mjl
34ad22728c Fix problems introduced by our local patch: AutoCommit handles wouldn't,
and executes on closed handles crashed perl hard. Fixes PR/18009.
2002-08-21 23:10:38 +00:00
explorer
71c275a6da update patchfile 2002-06-18 07:06:44 +00:00
explorer
2099315373 Fix DBD-postgresql to not keep a transaction open when idle. Without this change, postgresql 7.2 cannot vacuum properly. This change was submitted to the DBD-postgresql author, with no reply. 2002-06-18 07:05:30 +00:00
mjl
767893854a Update p5-DBD-postgresql to 1.13
- add definition for missing type 'numeric' and fix segfault in pg_type
 - implement missing metadata methods and change existing ones
2002-05-16 21:19:06 +00:00
mjl
6ef2a68bc0 Update p5-DBD-postgresql to 1.11
* Pg.pm (quote): Applied patch to simplfiy and speed up quoting.
2002-03-14 22:23:36 +00:00
wiz
6d37ab734c Remove non-existing patch-aa from distinfo. 2002-01-10 13:58:54 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
mjl
ede916eaef Update to 1.01
- fixed core dump when trying to use a BYTEA value with
          a byte outside 0..127
2001-08-10 11:53:15 +00:00
mjl
c2ba0284a3 Update to 1.00.
- Fetching all records now resets Active flag as it should.
2001-06-02 14:56:26 +00:00
mjl
bdbe4dd4eb Update to 0.99. Changes are
- fix segmentation fault in pg_error
- bug-fix for core-dump after any failed function call
- add support for the datatype bytea
- fix bug in connect method, which erroneously set the userid and the
  password to the environment variables DBI_USER and DBI_PASS
- which removed the special handling of a backslash when used for octal
  presentation. Now a backslash always will be escaped.
- remove memory-leak in ping function, bug-fix
- correct the recognition of primary keys in table_attributes().
- fix a segmentation fault in DBD::pg::blob_read() when reading LOBs that
  required perl to reallocate space for the variable holding the scalar value
- updated test.pl to create a test blob larger than 256 bytes (now 128 Kbytes)
- fix a seg-fault when inserting large amounts of text.
- remove the newlines from the error messages and quote date placeholders.
2001-05-25 20:40:03 +00:00
agc
6ef28d06c5 Move to sha1 digests, and add distfile sizes. 2001-04-18 16:10:56 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
Renamed from databases/p5-DBD-postgresql/files/md5 (Browse further)