public inbox for [email protected]  
help / color / mirror / Atom feed
Wrong Typo
2+ messages / 2 participants
[nested] [flat]

* Wrong Typo
@ 2015-07-29 09:21  Mehmet Emin KARAKAŞ <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Mehmet Emin KARAKAŞ @ 2015-07-29 09:21 UTC (permalink / raw)
  To: pgsql-docs

Hi Everybody,

I saw wrong typo in `ALTER FOREIGN TABLE´ documentation page.(
http://www.postgresql.org/docs/9.1/static/sql-alterforeigntable.html). On
the bottom of page have an example like that.
ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET
opt2, 'value2', DROP opt3 'value3');

Don't need to put comma  set options values. This is wrong usage and not
working. Need to remove comma after opt2. All of documentation series the
same(9.1,9.2,9.3,9.4...).True usage is;

ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET
opt2 'value2', DROP opt3 'value3');

Thanks.



-- 
MEHMET EMİN KARAKAŞ


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Wrong Typo
@ 2015-09-02 01:15  Bruce Momjian <[email protected]>
  parent: Mehmet Emin KARAKAŞ <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2015-09-02 01:15 UTC (permalink / raw)
  To: Mehmet Emin KARAKAŞ <[email protected]>; +Cc: pgsql-docs

On Wed, Jul 29, 2015 at 12:21:43PM +0300, Mehmet Emin KARAKAŞ wrote:
> Hi Everybody,
> 
> I saw wrong typo in `ALTER FOREIGN TABLE´ documentation page.(http://
> www.postgresql.org/docs/9.1/static/sql-alterforeigntable.html). On the bottom
> of page have an example like that.
> ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET opt2,
> 'value2', DROP opt3 'value3');
> 
> Don't need to put comma  set options values. This is wrong usage and not
> working. Need to remove comma after opt2. All of documentation series the same
> (9.1,9.2,9.3,9.4...).True usage is;
>  
> ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET opt2
> 'value2', DROP opt3 'value3');

This has been fixed, thanks.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-09-02 01:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 09:21 Wrong Typo Mehmet Emin KARAKAŞ <[email protected]>
2015-09-02 01:15 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox