pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpllolcode - pllolcode: Fix memory errors, and make parser return parse
4+ messages / 2 participants
[nested] [flat]
* pllolcode - pllolcode: Fix memory errors, and make parser return parse
@ 2009-05-02 03:04 User Eggyknap <eggyknap@pgfoundry.org>
0 siblings, 0 replies; 4+ messages in thread
From: eggyknap@pgfoundry.org @ 2009-05-02 03:04 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Fix memory errors, and make parser return parse tree. Also add new tests and
some initial infrastructure for long-term parse tree storage
Modified Files:
--------------
pllolcode:
DOC (r1.28 -> r1.29)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/DOC.diff?r1=1.28&r2=1.29)
gram.y (r1.33 -> r1.34)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/gram.y.diff?r1=1.33&r2=1.34)
pllolcode.c (r1.25 -> r1.26)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode.c.diff?r1=1.25&r2=1.26)
pllolcode.h (r1.21 -> r1.22)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/pllolcode.h.diff?r1=1.21&r2=1.22)
scan.l (r1.26 -> r1.27)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/scan.l.diff?r1=1.26&r2=1.27)
testFuncs.sql (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pllolcode/pllolcode/testFuncs.sql.diff?r1=1.5&r2=1.6)
^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD
@ 2024-02-09 07:18 Peter Eisentraut <peter@eisentraut.org>
0 siblings, 0 replies; 4+ messages in thread
From: Peter Eisentraut @ 2024-02-09 07:18 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN
Fix for 344d62fb9a9: That commit introduced unlogged sequences and
made it so that identity/serial sequences automatically get the
persistence level of their owning table. But this works only for
CREATE TABLE and not for ALTER TABLE / ADD COLUMN. The latter would
always create the sequence as logged (default), independent of the
persistence setting of the table. This is fixed here.
Note: It is allowed to change the persistence of identity sequences
directly using ALTER SEQUENCE. So mistakes in existing databases can
be fixed manually.
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/c4b6e2ed-bcdf-4ea7-965f-e49761094827%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6743c5ae64e3c957ef8bd4f8a0daa2ba9959b0b3
Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 11 +++++-
src/test/regress/expected/identity.out | 72 ++++++++++++++++++++++++++++++++++
src/test/regress/sql/identity.sql | 18 +++++++++
3 files changed, 100 insertions(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD
@ 2024-02-09 07:18 Peter Eisentraut <peter@eisentraut.org>
0 siblings, 0 replies; 4+ messages in thread
From: Peter Eisentraut @ 2024-02-09 07:18 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN
Fix for 344d62fb9a9: That commit introduced unlogged sequences and
made it so that identity/serial sequences automatically get the
persistence level of their owning table. But this works only for
CREATE TABLE and not for ALTER TABLE / ADD COLUMN. The latter would
always create the sequence as logged (default), independent of the
persistence setting of the table. This is fixed here.
Note: It is allowed to change the persistence of identity sequences
directly using ALTER SEQUENCE. So mistakes in existing databases can
be fixed manually.
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/c4b6e2ed-bcdf-4ea7-965f-e49761094827%40eisentraut.org
Branch
------
REL_16_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/86d2b434c9a3520a10db4feae236b74452d3d157
Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 11 +++++-
src/test/regress/expected/identity.out | 72 ++++++++++++++++++++++++++++++++++
src/test/regress/sql/identity.sql | 18 +++++++++
3 files changed, 100 insertions(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD
@ 2024-02-09 07:18 Peter Eisentraut <peter@eisentraut.org>
0 siblings, 0 replies; 4+ messages in thread
From: Peter Eisentraut @ 2024-02-09 07:18 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN
Fix for 344d62fb9a9: That commit introduced unlogged sequences and
made it so that identity/serial sequences automatically get the
persistence level of their owning table. But this works only for
CREATE TABLE and not for ALTER TABLE / ADD COLUMN. The latter would
always create the sequence as logged (default), independent of the
persistence setting of the table. This is fixed here.
Note: It is allowed to change the persistence of identity sequences
directly using ALTER SEQUENCE. So mistakes in existing databases can
be fixed manually.
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/c4b6e2ed-bcdf-4ea7-965f-e49761094827%40eisentraut.org
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d17a3a4c6a34f61a3d4d9faa7a70c14d8d0c0ffb
Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 11 +++++-
src/test/regress/expected/identity.out | 72 ++++++++++++++++++++++++++++++++++
src/test/regress/sql/identity.sql | 18 +++++++++
3 files changed, 100 insertions(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-02-09 07:18 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-05-02 03:04 pllolcode - pllolcode: Fix memory errors, and make parser return parse User Eggyknap <eggyknap@pgfoundry.org>
2024-02-09 07:18 pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD Peter Eisentraut <peter@eisentraut.org>
2024-02-09 07:18 pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD Peter Eisentraut <peter@eisentraut.org>
2024-02-09 07:18 pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD Peter Eisentraut <peter@eisentraut.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox